PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Correlation Namespace / Correlation­Request Structure / Correlation­Request Properties

CorrelationRequest Properties

The CorrelationRequest type exposes the following members.

Public propertyDirection
Gets the request direction (In or Out.
Public propertyRemoteHost
Gets the DNS name or IP address of the remote host.
Public propertyRemotePort
Gets the remote port, or -1 if it's the default port.
Public propertyRequest
Gets the original request object wrapped by this interface, for instance an HttpRequest, HttpWeRequest or HttpRequestMessage. This property exists so that custom implementations of ICorrelationProtocol can rely on specific properties of requests that are not exposed by this interface.
See Also