cxx-frontend
    Preparing search index...

    Interface MessageTransport

    A bidirectional JSON-RPC message channel.

    The shape is the one expected by the LSP client of the editors, it is described here so that this package does not depend on them.

    interface MessageTransport {
        state: ValueWithChangeEvent<ConnectionState>;
        send(message: JsonRpcMessage): Promise<void>;
        setListener(
            listener: ((message: JsonRpcMessage) => void) | undefined,
        ): void;
        toString(): string;
    }
    Index