Table of Contents
API reference

Method GetHeaderValue

Namespace
DisCatSharp.Hosting.AspNetCore.Ingress.IncomingWebhooks
Assembly
DisCatSharp.Hosting.AspNetCore.dll

GetHeaderValue(string)

Gets the first value for a request header when present.

public string? GetHeaderValue(string name)

Parameters

name string

The header name to resolve.

Returns

string

The first header value, or null when the header does not exist.