AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.Runtime
Assembly: AWSSDK.dll
Version: (assembly version)
public class HttpWebRequestMessage : Object IDisposable, IHttpRequest<HttpContent>
The HttpWebRequestMessage type exposes the following members
| Name | Description | |
|---|---|---|
|
HttpWebRequestMessage(Uri, ClientConfig) | The constructor for HttpWebRequestMessage. |
| Name | Type | Description | |
|---|---|---|---|
|
HttpClient | System.Net.Http.HttpClient | |
|
Method | System.String | The HTTP method or verb. |
|
Request | System.Net.Http.HttpRequestMessage | The underlying HTTP web request. |
|
RequestUri | System.Uri | The request URI. |
| Name | Description | |
|---|---|---|
|
Abort() | Aborts the HTTP request. |
|
ConfigureRequest(IRequestContext) | Configures a request as per the request context. |
|
Dispose() | Disposes the HttpWebRequestMessage. |
|
GetRequestContent() | Gets a handle to the request content. |
|
GetRequestContentAsync() | Gets a handle to the request content. |
|
GetResponse() | Returns the HTTP response. |
|
GetResponseAsync(CancellationToken) | Returns the HTTP response. |
|
SetRequestHeaders(IDictionary<String, String>) | Sets the headers on the request. |
|
WriteToRequestBody(HttpContent, Stream, IDictionary<String, String>, IRequestContext) | Writes a stream to the request body. |
|
WriteToRequestBody(HttpContent, Byte[], IDictionary<String, String>) | Writes a byte array to the request body. |
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8