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

AspNetFrameworkRequestExpressionModel.GetHeader Method

Gets a specified header, or null.

Namespace:  PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework
Assembly:  PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework (in PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework.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