Table of Contents

Method GetHeaderValue

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

GetHeaderValue(string)

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

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.