Interface QuicClient

All Superinterfaces:
Measured, QuicEndpoint

public interface QuicClient extends QuicEndpoint
A Quic client.
Author:
Julien Viet
  • Method Details

    • connect

      default Future<QuicConnection> connect(int port, String host)
      Connect to a Quic server at the specific port and host.
      Parameters:
      port - the port
      host - the host
      Returns:
      a Quic connection as a future
    • connect

      default Future<QuicConnection> connect(int port, String host, QuicConnectOptions options)
      Connect to a Quic server at the specific port and host, with specific options.
      Parameters:
      port - the port
      host - the host
      Returns:
      a Quic connection as a future
    • connect

      default Future<QuicConnection> connect(SocketAddress address)
      Connect to a Quic server.
      Parameters:
      address - the server address
      Returns:
      a Quic connection as a future
    • connect

      Connect to a Quic server with specific options.
      Parameters:
      address - the server address
      options - the connect options
      Returns:
      a Quic connection as a future