Sdílet prostřednictvím


HttpRequestDataExtensions Class

Definition

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