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

    A CoAP endpoint.

    Index
    • Binds the local socket so the endpoint can carry traffic.

      Returns Promise<void>

    • Releases the socket the endpoint holds.

      Returns Promise<void>

    • Whether the local socket is bound.

      Returns Promise<boolean>

    • Sends a payload to a resource path.

      Parameters

      • topic: string
      • payload: Buffer

      Returns Promise<void>

    • Observes a resource path, so messages published to it reach recv.

      Parameters

      • topic: string

      Returns Promise<void>