PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Correlation Namespace / ICorrelation­Request­Adapter Interface

ICorrelationRequestAdapter Interface

Abstraction of the CorrelationRequest type.

Namespace:  PostSharp.Patterns.Diagnostics.Correlation
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.10.10.0 (6.10.10.0)
Syntax
C#
public interface ICorrelationRequestAdapter

The ICorrelationRequestAdapter type exposes the following members.

Properties
  NameDescription
Public propertyDirection
Gets the request direction (In or Out.
Methods
  NameDescription
Public methodAddHeader
Adds a request header.
Public methodGetRemoteHost
Gets the DNS name or IP address of the remote host.
Public methodGetRemotePort
Gets the remote port, or -1 if it's the default port.
Public methodRemoveHeader
Removes a request header and all its values.
Public methodTryGetHeader
Gets a request header.
See Also