示例#1
0
 // !!! TEMPORARY: Remove "implementationProvider" before shipping
 public QuicConnection(IPEndPoint remoteEndPoint, SslClientAuthenticationOptions sslClientAuthenticationOptions, IPEndPoint localEndPoint = null, QuicImplementationProvider implementationProvider = null)
 {
     _provider = implementationProvider.CreateConnection(remoteEndPoint, sslClientAuthenticationOptions, localEndPoint);
 }
示例#2
0
 internal QuicConnection(QuicConnectionProvider provider)
 {
     _provider = provider;
 }
 public QuicConnection(QuicImplementationProvider implementationProvider, QuicClientConnectionOptions options)
 {
     _provider = implementationProvider.CreateConnection(options);
 }