RequestMessage Class
RequestMessage class
Represents a request message.
public class RequestMessage : IDisposable
Constructors
| Name | Description |
|---|
| RequestMessage(String) | Initializes a new instance of the RequestMessage class. |
| RequestMessage(Url) | Initializes a new instance of the RequestMessage class. |
Properties
| Name | Description |
|---|
| [getContent] | |
| [setContent] Gets or sets the request content. | |
| [getCookieContainer] | |
| [setCookieContainer] Gets or sets the cookie container used to store server cookies by the handler. | |
| [getCredentials] | |
| [setCredentials] Gets or sets authentication information for the request. | |
getHeaders Gets the RequestHeaders. | |
| [getMethod] | |
[setMethod] Gets or sets the HttpMethod. | |
| [getPreAuthenticate] | |
| [setPreAuthenticate] Gets or sets a value that indicates whether to send an Authorization header with the request. | |
| [getRequestUri] | |
| [setRequestUri] Gets or sets the request URI. | |
| [getTimeout] | |
| [setTimeout] The number of milliseconds to wait before the request times out. The default value is 100,000 milliseconds (100 seconds). | |
Methods
| Name | Description |
|---|
| dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
See Also