HeaderDictionaryTypeExtensions.GetTypedHeaders Methode

Definition

Überlädt

GetTypedHeaders(HttpRequest)

Ruft stark typierte HTTP-Anforderungsheader ab.

GetTypedHeaders(HttpResponse)

Ruft stark typierte HTTP-Antwortheader ab.

GetTypedHeaders(HttpRequest)

Ruft stark typierte HTTP-Anforderungsheader ab.

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

Parameter

request
HttpRequest

Die HttpRequest.

Gibt zurück

RequestHeaders

Die RequestHeaders.

Gilt für:

GetTypedHeaders(HttpResponse)

Ruft stark typierte HTTP-Antwortheader ab.

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

Parameter

response
HttpResponse

Die HttpResponse.

Gibt zurück

ResponseHeaders

Die ResponseHeaders.

Gilt für: