Class HttpClientTransport

HTTP Client Transport

Note: HTTP is stateless, so this transport doesn't maintain a persistent connection. The connect() method is a no-op, and state reflects readiness to make requests.

Server → Client notifications are NOT supported over HTTP (use WebSocket for that).

Hierarchy (view full)

Implements

Constructors

Accessors

Methods

  • Send a message and return the response

    For HTTP transport, this actually performs the request and returns when the response is received (unlike streaming transports).

    Parameters

    Returns Promise<void>