FunctionContextHttpRequestExtensions.GetHttpRequestDataAsync 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.
Gets the HttpRequestData instance if the invocation is for an http trigger.
public static System.Threading.Tasks.ValueTask<Microsoft.Azure.Functions.Worker.Http.HttpRequestData?> GetHttpRequestDataAsync (this Microsoft.Azure.Functions.Worker.FunctionContext context);
static member GetHttpRequestDataAsync : Microsoft.Azure.Functions.Worker.FunctionContext -> System.Threading.Tasks.ValueTask<Microsoft.Azure.Functions.Worker.Http.HttpRequestData>
<Extension()>
Public Function GetHttpRequestDataAsync (context As FunctionContext) As ValueTask(Of HttpRequestData)
Parameters
- context
- FunctionContext
The FunctionContext instance.
Returns
HttpRequestData instance if the invocation is http, else null
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET