peerix - v0.6.0
    Preparing search index...

    Interface SendOptions

    Options for sending a message through a data channel.

    interface SendOptions {
        info?: Record<string, unknown>;
        label?: string;
        signal?: AbortSignal;
        to?: string | string[];
    }
    Index
    info?: Record<string, unknown>

    Optional additional information to send with the message.

    label?: string

    Channel label. If omitted, default is used.

    signal?: AbortSignal

    AbortSignal to cancel the send operation.

    to?: string | string[]

    The target peer or peers to send the message to.