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