Share via


FunctionContextHttpRequestExtensions.GetHttpResponseData Method

Definition

Gets the HttpResponseData instance if the invocation is for an http trigger.

public static Microsoft.Azure.Functions.Worker.Http.HttpResponseData? GetHttpResponseData (this Microsoft.Azure.Functions.Worker.FunctionContext context);
static member GetHttpResponseData : Microsoft.Azure.Functions.Worker.FunctionContext -> Microsoft.Azure.Functions.Worker.Http.HttpResponseData
<Extension()>
Public Function GetHttpResponseData (context As FunctionContext) As HttpResponseData

Parameters

context
FunctionContext

The FunctionContext instance.

Returns

HttpResponseData instance if the invocation is http, else null

Applies to