ConnectionMonitorHttpConfiguration Class
Describes the HTTP configuration.
- Inheritance
-
ConnectionMonitorHttpConfiguration
Constructor
ConnectionMonitorHttpConfiguration(*, port: typing.Union[int, NoneType] = None, method: typing.Union[str, _ForwardRef('HTTPConfigurationMethod'), NoneType] = None, path: typing.Union[str, NoneType] = None, request_headers: typing.Union[typing.List[_ForwardRef('HTTPHeader')], NoneType] = None, valid_status_code_ranges: typing.Union[typing.List[str], NoneType] = None, prefer_https: typing.Union[bool, NoneType] = None, **kwargs)
Parameters
- port
- int
The port to connect to.
- method
- str or HTTPConfigurationMethod
The HTTP method to use. Possible values include: "Get", "Post".
- path
- str
The path component of the URI. For instance, "/dir1/dir2".
- request_headers
- list[HTTPHeader]
The HTTP headers to transmit with the request.
HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- prefer_https
- bool
Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
Feedback
Submit and view feedback for