HttpConnectionContextExtensions Class

Definition

Extension method to get the underlying HttpContext of the connection if there is one.

C#
public static class HttpConnectionContextExtensions
Inheritance
HttpConnectionContextExtensions

Methods

GetHttpContext(ConnectionContext)

Gets the HttpContext associated with the connection, if there is one.

Applies to

Tuote Versiot
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0