ConnectionMonitorHttpConfiguration interface

Describes the HTTP configuration.

Properties

method

The HTTP method to use.

path

The path component of the URI. For instance, "/dir1/dir2".

port

The port to connect to.

preferHttps

Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.

requestHeaders

The HTTP headers to transmit with the request.

validStatusCodeRanges

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

Property Details

method

The HTTP method to use.

method?: string

Property Value

string

path

The path component of the URI. For instance, "/dir1/dir2".

path?: string

Property Value

string

port

The port to connect to.

port?: number

Property Value

number

preferHttps

Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.

preferHttps?: boolean

Property Value

boolean

requestHeaders

The HTTP headers to transmit with the request.

requestHeaders?: HttpHeader[]

Property Value

validStatusCodeRanges

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

validStatusCodeRanges?: string[]

Property Value

string[]