PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CorrelationICorrelation­Request­Adapter
Open sandboxFocus

ICorrelationRequestAdapter Interface

Abstraction of the CorrelationRequest type.

Namespace: PostSharp.Patterns.Diagnostics.Correlation
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public interface ICorrelationRequestAdapter

Properties

Name Description
Direction

Gets the request direction (In or Out.

Methods

Name Description
AddHeader(Object, String, String)

Adds a request header.

GetRemoteHost(Object)

Gets the DNS name or IP address of the remote host.

GetRemotePort(Object)

Gets the remote port, or -1 if it's the default port.

RemoveHeader(Object, String)

Removes a request header and all its values.

TryGetHeader(Object, String, out IEnumerable<String>)

Gets a request header.