CorrelationRequest Structure |
Namespace: PostSharp.Patterns.Diagnostics.Correlation
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
public readonly struct CorrelationRequest
The CorrelationRequest type exposes the following members.
Name | Description | |
---|---|---|
CorrelationRequest |
Initializes a new CorrelationRequest.
|
Name | Description | |
---|---|---|
Direction | ||
RemoteHost |
Gets the DNS name or IP address of the remote host.
| |
RemotePort |
Gets the remote port, or -1 if it's the default port.
| |
Request |
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.
|
Name | Description | |
---|---|---|
AddHeader |
Adds a request header.
| |
RemoveHeader |
Removes a request header and all its values.
| |
TryGetHeader |
Gets a request header.
|