Click or drag to resize
HttpCheckDetails Constructor
This API is preliminary and subject to change.
Initializes a new instance of the HttpCheckDetails class with the specified values.

Namespace: net.openstack.Providers.Rackspace.Objects.Monitoring
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public HttpCheckDetails(
	Uri url,
	string authUser,
	string authPassword,
	string body,
	IDictionary<string, string> bodyMatches,
	Nullable<bool> followRedirects,
	IDictionary<string, string> headers,
	Nullable<HttpMethod> method,
	string payload
)

Parameters

url
Type: SystemUri
The target URI.
authUser
Type: SystemString
The username of the user to authenticate over HTTP.
authPassword
Type: SystemString
The password of the user to authenticate over HTTP.
body
Type: SystemString
The regular expression to match against the body of the reply. For more information, see Body.
bodyMatches
Type: System.Collections.GenericIDictionaryString, String
A collection of named regular expressions to match against the body of the reply. For more information, see BodyMatches.
followRedirects
Type: SystemNullableBoolean
to follow redirects; otherwise, .
headers
Type: System.Collections.GenericIDictionaryString, String
A collection of additional HTTP headers which are sent with the request.
method
Type: SystemNullableHttpMethod
The HTTP method to use for the request.
payload
Type: SystemString
The body to include with the HTTP request.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf url is .
ArgumentException If bodyMatches contains any empty keys.

-or-

If headers contains any empty keys.

Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also