6 references to SslApplicationProtocol
System.Net.Security (6)
System\Net\Security\SslApplicationProtocol.cs (5)
19
public static readonly SslApplicationProtocol Http3 = new
SslApplicationProtocol
(s_http3Utf8, copy: false);
21
public static readonly SslApplicationProtocol Http2 = new
SslApplicationProtocol
(s_http2Utf8, copy: false);
23
public static readonly SslApplicationProtocol Http11 = new
SslApplicationProtocol
(s_http11Utf8, copy: false);
43
this
(protocol ?? throw new ArgumentNullException(nameof(protocol)), copy: true)
48
this
(s_utf8.GetBytes(protocol ?? throw new ArgumentNullException(nameof(protocol))), copy: false)
System\Net\Security\SslStream.cs (1)
569
return _connectionInfo.ApplicationProtocol != null ? new
SslApplicationProtocol
(_connectionInfo.ApplicationProtocol, false) : default;