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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor