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.MonitoringAssembly: 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
)
Public Sub New (
url As Uri,
authUser As String,
authPassword As String,
body As String,
bodyMatches As IDictionary(Of String, String),
followRedirects As Nullable(Of Boolean),
headers As IDictionary(Of String, String),
method As Nullable(Of HttpMethod),
payload As String
)
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
)
new :
url : Uri *
authUser : string *
authPassword : string *
body : string *
bodyMatches : IDictionary<string, string> *
followRedirects : Nullable<bool> *
headers : IDictionary<string, string> *
method : Nullable<HttpMethod> *
payload : string -> HttpCheckDetails
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 Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also