kkrpc
    Preparing search index...

    Interface TransportCapabilities

    Capabilities available on a message-level transport.

    transfer and remoteRefs drive behavior: RPCChannel checks transfer before forwarding transferables, and RemoteReferenceRPCChannel checks remoteRefs before allowing by-reference traffic. objectMode and broadcast are currently informational — the core does not branch on them — but transports should still report them truthfully so applications can inspect them.

    interface TransportCapabilities {
        broadcast?: boolean;
        objectMode?: boolean;
        remoteRefs?: boolean;
        transfer?: boolean;
    }
    Index

    Properties

    broadcast?: boolean

    The transport may deliver messages to more than one peer. Informational.

    objectMode?: boolean

    The transport carries JavaScript objects without string serialization (structured-clone-grade), so non-JSON values such as Date, Map, and undefined survive. Transports that JSON-serialize should report false. Informational: the core does not branch on this flag.

    remoteRefs?: boolean

    The transport can carry bidirectional remote-reference request traffic.

    transfer?: boolean

    The transport can forward transferables with sent messages.