HeaderDictionaryTypeExtensions.GetTypedHeaders Метод

Определение

Перегрузки

GetTypedHeaders(HttpRequest)

Возвращает строго типизированные заголовки HTTP-запросов.

GetTypedHeaders(HttpResponse)

Возвращает строго типизированные заголовки http-ответа.

GetTypedHeaders(HttpRequest)

Возвращает строго типизированные заголовки HTTP-запросов.

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

Параметры

Возвращаемое значение

RequestHeaders.

Применяется к

GetTypedHeaders(HttpResponse)

Возвращает строго типизированные заголовки http-ответа.

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

Параметры

Возвращаемое значение

ResponseHeaders.

Применяется к