HttpRequest¶
Summary¶
The class representing an HTTP request.
Signature
1 |
|
Namespace¶
cAlgo.API
Properties¶
Uri¶
Summary
Gets or sets the request URI.
Signature
1 |
|
Return Value
Uri
Body¶
Summary
Gets or sets the request body.If a GET, TRACE, HEAD, CONNECT, and OPTIONS request is performed, the value of this property is ignored.
Signature
1 |
|
Return Value
string
Headers¶
Summary
Gets the request headers.
Signature
1 |
|
Return Value
HttpRequestHeaders
Timeout¶
Summary
Gets or sets the request timeout.The default value is 100,000 milliseconds (100 seconds).
Signature
1 |
|
Return Value
TimeSpan
Version¶
Summary
Gets or sets the request version.The default value is 2.0.
Signature
1 |
|
Return Value
Version
VersionPolicy¶
Summary
Gets or sets the request version policy.The default value is RequestVersionOrLower.
Signature
1 |
|
Return Value
HttpVersionPolicy
Method¶
Summary
Gets or sets the request method.The default value is Get.
Signature
1 |
|
Return Value
HttpMethod