ConnectionMonitorHttpConfiguration Class

Definition

Describes the HTTP configuration.

public class ConnectionMonitorHttpConfiguration
type ConnectionMonitorHttpConfiguration = class
Public Class ConnectionMonitorHttpConfiguration
Inheritance
ConnectionMonitorHttpConfiguration

Constructors

ConnectionMonitorHttpConfiguration()

Initializes a new instance of the ConnectionMonitorHttpConfiguration class.

ConnectionMonitorHttpConfiguration(Nullable<Int32>, String, String, IList<HTTPHeader>, IList<String>, Nullable<Boolean>)

Initializes a new instance of the ConnectionMonitorHttpConfiguration class.

Properties

Method

Gets or sets the HTTP method to use. Possible values include: 'Get', 'Post'

Path

Gets or sets the path component of the URI. For instance, "/dir1/dir2".

Port

Gets or sets the port to connect to.

PreferHTTPS

Gets or sets value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.

RequestHeaders

Gets or sets the HTTP headers to transmit with the request.

ValidStatusCodeRanges

Gets or sets HTTP status codes to consider successful. For instance, "2xx,301-304,418".

Methods

Validate()

Validate the object.

Applies to