通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

Name Description
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