共用方式為


HttpResponseData.CreateResponse(HttpRequestData) Method

Definition

Creates an HTTP response for the provided request.

public static Microsoft.Azure.Functions.Worker.Http.HttpResponseData CreateResponse (Microsoft.Azure.Functions.Worker.Http.HttpRequestData request);
static member CreateResponse : Microsoft.Azure.Functions.Worker.Http.HttpRequestData -> Microsoft.Azure.Functions.Worker.Http.HttpResponseData
Public Shared Function CreateResponse (request As HttpRequestData) As HttpResponseData

Parameters

request
HttpRequestData

The request for which we need to create a response.

Returns

An HttpResponseData that represens the response for the provided request.

Applies to