System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (8)
66if (HttpTelemetry.Log.IsEnabled())
74if (this is HttpConnection) HttpTelemetry.Log.Http11ConnectionEstablished(Id, scheme, host, port, remoteEndPoint);
75else if (this is Http2Connection) HttpTelemetry.Log.Http20ConnectionEstablished(Id, scheme, host, port, remoteEndPoint);
76else HttpTelemetry.Log.Http30ConnectionEstablished(Id, scheme, host, port, remoteEndPoint);
84if (HttpTelemetry.Log.IsEnabled())
89if (this is HttpConnection) HttpTelemetry.Log.Http11ConnectionClosed(Id);
90else if (this is Http2Connection) HttpTelemetry.Log.Http20ConnectionClosed(Id);
91else HttpTelemetry.Log.Http30ConnectionClosed(Id);