Interface WebClient

All Known Subinterfaces:
Http1Client, Http2Client, HttpClient<REQ,RES>, WsClient
All Known Implementing Classes:
DirectClient, DirectWsClient, LoomClient

public interface WebClient
HTTP client.
  • Method Details

    • builder

      Create a new builder of the Http1Client.
      Returns:
      new HTTP1 client builder
    • builder

      static <T> T builder(Protocol<T> protocol)
      Create a new client builder based on the provided protocol.
      Type Parameters:
      T - protocol client builder type
      Parameters:
      protocol - protocol of the client
      Returns:
      new client protocol builder instance