HttpRequestDataExtensions 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.
Provides extension methods to work with an HttpRequestData instance.
public static class HttpRequestDataExtensions
type HttpRequestDataExtensions = class
Public Module HttpRequestDataExtensions
- Inheritance
-
HttpRequestDataExtensions
Methods
CreateResponse(HttpRequestData, HttpStatusCode) |
Creates a response for the the provided HttpRequestData. |
ReadAsString(HttpRequestData, Encoding) |
Reads the body payload as a string. |
ReadAsStringAsync(HttpRequestData, Encoding) |
Reads the body payload as a string. |
ReadFromJsonAsync<T>(HttpRequestData, CancellationToken) |
Reads the request using the default ObjectSerializer configured for this worker. |
ReadFromJsonAsync<T>(HttpRequestData, ObjectSerializer, CancellationToken) |
Reads the request using the provided ObjectSerializer. |
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET