PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­Core Namespace / Asp­Net­Core­Request­Expression­Model Structure / Asp­Net­Core­Request­Expression­Model Methods / Asp­Net­Core­Request­Expression­Model.​Get­Header Method

AspNetCoreRequestExpressionModel.GetHeader Method

Gets a specified header, or null.

Namespace:  PostSharp.Patterns.Diagnostics.Adapters.AspNetCore
Assembly:  PostSharp.Patterns.Diagnostics.Adapters.AspNetCore (in PostSharp.Patterns.Diagnostics.Adapters.AspNetCore.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public string GetHeader(
	string name
)

Parameters

name
Type: System.String

Return Value

Type: String
See Also