Sisk

Method

HttpResponse.GetHeaderValue

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

GetHeaderValue(string) #

Gets the value of a specific header from the request and content headers.

C#
public string? GetHeaderValue(string headerName)

Parameters #

headerName string

The name of the header to retrieve.

Returns #

string?

The header value, or null if the header is not found.

Type to search the documentation and the API reference.