次の方法で共有


HttpHelper Class

Definition

Helper class with methods to help with reading and responding to HTTP requests.

public static class HttpHelper
type HttpHelper = class
Public Class HttpHelper
Inheritance
HttpHelper

Methods

Name Description
GetClaimsIdentity(HttpRequest)

Get the ClaimsIdentity from the HttpRequest.

ReadRequestAsync<T>(HttpRequest)

Accepts an incoming HttpRequest and deserializes it using the ProtocolJsonSerializer.

WriteResponseAsync(HttpResponse, InvokeResponse)

If an InvokeResponse is provided, the status and body of the InvokeResponse are used to set the status and body of the HttpResponse. If no InvokeResponse is provided, then the status of the HttpResponse is set to 200.

Applies to