HeaderDictionaryTypeExtensions.GetTypedHeaders Method

Definition

Overloads

GetTypedHeaders(HttpRequest)
GetTypedHeaders(HttpResponse)

GetTypedHeaders(HttpRequest)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Http::Headers::RequestHeaders ^ GetTypedHeaders(Microsoft::AspNetCore::Http::HttpRequest ^ request);
public static Microsoft.AspNetCore.Http.Headers.RequestHeaders GetTypedHeaders (this Microsoft.AspNetCore.Http.HttpRequest request);
static member GetTypedHeaders : Microsoft.AspNetCore.Http.HttpRequest -> Microsoft.AspNetCore.Http.Headers.RequestHeaders
<Extension()>
Public Function GetTypedHeaders (request As HttpRequest) As RequestHeaders

Parameters

request
HttpRequest

Returns

RequestHeaders

GetTypedHeaders(HttpResponse)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Http::Headers::ResponseHeaders ^ GetTypedHeaders(Microsoft::AspNetCore::Http::HttpResponse ^ response);
public static Microsoft.AspNetCore.Http.Headers.ResponseHeaders GetTypedHeaders (this Microsoft.AspNetCore.Http.HttpResponse response);
static member GetTypedHeaders : Microsoft.AspNetCore.Http.HttpResponse -> Microsoft.AspNetCore.Http.Headers.ResponseHeaders
<Extension()>
Public Function GetTypedHeaders (response As HttpResponse) As ResponseHeaders

Parameters

response
HttpResponse

Returns

ResponseHeaders

Applies to