Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TraceConnection()

void System.Net.Http.HttpConnectionBase.TraceConnection ( Stream stream)
inlineprotectedinherited

Definition at line 44 of file HttpConnectionBase.cs.

45 {
46 if (stream is SslStream sslStream)
47 {
48 Trace($"{this}. SslProtocol:{sslStream.SslProtocol}, NegotiatedApplicationProtocol:{sslStream.NegotiatedApplicationProtocol}, NegotiatedCipherSuite:{sslStream.NegotiatedCipherSuite}, CipherAlgorithm:{sslStream.CipherAlgorithm}, CipherStrength:{sslStream.CipherStrength}, HashAlgorithm:{sslStream.HashAlgorithm}, HashStrength:{sslStream.HashStrength}, KeyExchangeAlgorithm:{sslStream.KeyExchangeAlgorithm}, KeyExchangeStrength:{sslStream.KeyExchangeStrength}, LocalCertificate:{sslStream.LocalCertificate}, RemoteCertificate:{sslStream.RemoteCertificate}", "TraceConnection");
49 }
50 else
51 {
52 Trace($"{this}", "TraceConnection");
53 }
54 }
void Trace(string message, [CallerMemberName] string memberName=null)

References System.stream, and System.Net.Http.HttpConnectionBase.Trace().

Referenced by System.Net.Http.Http2Connection.Http2Connection(), and System.Net.Http.HttpConnection.HttpConnection().