Interface INetSecurityTelemetryConsumer
A consumer of System.Net.Security EventSource events.
Namespace: Yarp.Telemetry.Consumption
Assembly: Yarp.Telemetry.Consumption.dll
Syntax
public interface INetSecurityTelemetryConsumer
Methods
| Improve this Doc View SourceOnHandshakeFailed(DateTime, Boolean, TimeSpan, String)
Called before OnHandshakeStop(DateTime, SslProtocols) if the handshake failed.
Declaration
virtual void OnHandshakeFailed(DateTime timestamp, bool isServer, TimeSpan elapsed, string exceptionMessage)
Parameters
Type | Name | Description |
---|---|---|
DateTime | timestamp | Timestamp when the event was fired. |
System.Boolean | isServer | Indicates whether we were authenticating as the server. |
TimeSpan | elapsed | Time elapsed since the start of the handshake. |
System.String | exceptionMessage | Exception information for the handshake failure. |
OnHandshakeStart(DateTime, Boolean, String)
Called before a handshake.
Declaration
virtual void OnHandshakeStart(DateTime timestamp, bool isServer, string targetHost)
Parameters
Type | Name | Description |
---|---|---|
DateTime | timestamp | Timestamp when the event was fired. |
System.Boolean | isServer | Indicates whether we are authenticating as the server. |
System.String | targetHost | Name of the host we are authenticating with. |
OnHandshakeStop(DateTime, SslProtocols)
Called after a handshake.
Declaration
virtual void OnHandshakeStop(DateTime timestamp, SslProtocols protocol)
Parameters
Type | Name | Description |
---|---|---|
DateTime | timestamp | Timestamp when the event was fired. |
SslProtocols | protocol | The protocol established by the handshake. |