@modelcontextprotocol/sdk
    Preparing search index...

    Type Alias TransportSendOptions

    Options for sending a JSON-RPC message.

    type TransportSendOptions = {
        onresumptiontoken?: (token: string) => void;
        relatedRequestId?: RequestId;
        resumptionToken?: string;
    }
    Index

    Properties

    onresumptiontoken?: (token: string) => void

    A callback that is invoked when the resumption token changes, if supported by the transport.

    This allows clients to persist the latest token for potential reconnection.

    relatedRequestId?: RequestId

    If present, relatedRequestId is used to indicate to the transport which incoming request to associate this outgoing message with.

    resumptionToken?: string

    The resumption token used to continue long-running requests that were interrupted.

    This allows clients to reconnect and continue from where they left off, if supported by the transport.