HttpConnectionFeature Class

Definition

Default implementation for IHttpConnectionFeature.

public ref class HttpConnectionFeature : Microsoft::AspNetCore::Http::Features::IHttpConnectionFeature
public class HttpConnectionFeature : Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature
type HttpConnectionFeature = class
    interface IHttpConnectionFeature
Public Class HttpConnectionFeature
Implements IHttpConnectionFeature
Inheritance
HttpConnectionFeature
Implements

Constructors

HttpConnectionFeature()

Properties

ConnectionId

Gets or sets the unique identifier for the connection the request was received on. This is primarily for diagnostic purposes.

LocalIpAddress

Gets or sets the local IPAddress on which the request was received.

LocalPort

Gets or sets the local port on which the request was received.

RemoteIpAddress

Gets or sets the IPAddress of the client making the request. Note this may be for a proxy rather than the end user.

RemotePort

Gets or sets the remote port of the client making the request.

Applies to