Saltar al contenido
Abblix
Esta página aún no está traducida.

IRequestInfoProvider Interface

Provides information about the current request, including URIs and security details.

C#
public interface IRequestInfoProvider

Properties

IRequestInfoProvider.ApplicationUri Property

The base URI of the application.

C#
string ApplicationUri { get; }

Property Value

System.String

IRequestInfoProvider.IsHttps Property

Indicates whether the request is using HTTPS.

C#
bool IsHttps { get; }

Property Value

System.Boolean

IRequestInfoProvider.PathBase Property

The base path of the request.

C#
string PathBase { get; }

Property Value

System.String

IRequestInfoProvider.RemoteIpAddress Property

The client's IP address from the current request. May be null if the IP address cannot be determined.

C#
System.Net.IPAddress? RemoteIpAddress { get; }

Property Value

System.Net.IPAddress

IRequestInfoProvider.RequestMethod Property

The HTTP method of the current request (e.g. GET, POST) in upper case per RFC 9110 §9. Surfaced for protocol-binding checks (e.g. RFC 9449 §4.3 DPoP htm) that match the inbound method byte-exact rather than assuming a fixed value per endpoint.

C#
string RequestMethod { get; }

Property Value

System.String

IRequestInfoProvider.RequestUri Property

The request URI.

C#
string RequestUri { get; }

Property Value

System.String