DynamicRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an HTTP request with JsonData content.
public class DynamicRequest : Azure.Core.Request
type DynamicRequest = class
inherit Request
Public Class DynamicRequest
Inherits Request
- Inheritance
Constructors
DynamicRequest(Request, HttpPipeline) |
Creates an instance of RequestContent that wraps JsonData content. |
Properties
Body |
The JSON body of request. |
ClientRequestId |
Gets or sets the client request id that was sent to the server as |
Content |
Gets or sets the request content. |
DynamicBody |
The JSON body of the request. |
Headers |
Gets the response HTTP headers. (Inherited from Request) |
Method |
Gets or sets the request HTTP method. (Inherited from Request) |
Uri |
Gets or sets and instance of RequestUriBuilder used to create the Uri. (Inherited from Request) |
Methods
AddHeader(String, String) |
Adds a header value to the header collection. |
ContainsHeader(String) |
Returns |
Dispose() |
Frees resources held by the DynamicRequest object. |
Dispose(Boolean) |
Frees resources held by the DynamicRequest object. |
EnumerateHeaders() |
Returns an iterator enumerating HttpHeader in the request. |
RemoveHeader(String) |
Removes the header from the collection. |
Send(CancellationToken) |
Send the request synchronously. |
SendAsync(CancellationToken) |
Send the request asynchronously. |
SetHeader(String, String) |
Sets a header value the header collection. (Inherited from Request) |
TryGetHeader(String, String) |
Returns header value if the header is stored in the collection. If the header has multiple values they are going to be joined with a comma. |
TryGetHeaderValues(String, IEnumerable<String>) |
Returns header values if the header is stored in the collection. |