HttpResponseData.CreateResponse(HttpRequestData) Method
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.
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.