IRequestInfoProvider Interface
Provides information about the current request, including URIs and security details.
public interface IRequestInfoProviderProperties
IRequestInfoProvider.ApplicationUri Property
The base URI of the application.
string ApplicationUri { get; }Property Value
IRequestInfoProvider.IsHttps Property
Indicates whether the request is using HTTPS.
bool IsHttps { get; }Property Value
IRequestInfoProvider.PathBase Property
The base path of the request.
string PathBase { get; }Property Value
IRequestInfoProvider.RemoteIpAddress Property
The client's IP address from the current request. May be null if the IP address cannot be determined.
System.Net.IPAddress? RemoteIpAddress { get; }Property Value
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.
string RequestMethod { get; }Property Value
IRequestInfoProvider.RequestUri Property
The request URI.
string RequestUri { get; }