HttpCommandRequestContext 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.
Context passed to callback to configure HttpRequestMessage when using WithHttpCommand<TResource>(IResourceBuilder<TResource>, String, String, String, String, HttpCommandOptions) or WithHttpCommand<TResource>(IResourceBuilder<TResource>, String, String, Func<EndpointReference>, String, HttpCommandOptions).
public sealed class HttpCommandRequestContext
type HttpCommandRequestContext = class
Public NotInheritable Class HttpCommandRequestContext
- Inheritance
-
HttpCommandRequestContext
Constructors
HttpCommandRequestContext() |
Properties
CancellationToken |
The cancellation token. |
Endpoint |
The endpoint the request is targeting. |
HttpClient |
The HTTP client to use for the request. |
Request |
The HTTP request message. |
ResourceName |
The name of the resource the command was configured on. |
ServiceProvider |
The service provider. |