pamoja for TypeScript - v0.1.17
    Preparing search index...

    Interface CoapClientOptions

    The settings a CoAP endpoint is built from.

    interface CoapClientOptions {
        ackTimeoutMs?: number;
        bind?: string;
        host: string;
        maxRetransmits?: number;
        port: number;
        reliability?: Reliability;
    }
    Index
    ackTimeoutMs?: number

    How long to wait for an acknowledgement, in milliseconds.

    bind?: string

    The local address to bind. Defaults to an ephemeral port when omitted.

    host: string

    The peer hostname or IP address.

    maxRetransmits?: number

    How many times to retransmit an unacknowledged request.

    port: number

    The peer UDP port, conventionally 5683 for plaintext CoAP.

    reliability?: Reliability

    Whether requests are acknowledged and retried. Defaults to confirmable.