Recent Changes - Search:

edit SideBar

coapClient Module

This module provides a client library for the Constrained Application Protocol. It tries to mimic the httpClient interface as much as possible.

API

  • get(url|options, callback)
  • post(url|options, callback)
  • put(url|options, callback)
  • observe(url|options, callback): callback gets called not when the initial request finishes, but after every data packet is sent from the remote server.
  • request(url|options, callback)

As with httpClient, each request can either take url as a string or an object with request parameters (including a key called url which can be a string or an object of the individual url parameters).


Back to Optional JavaScript Modules

Edit - History - Print - Recent Changes - Search
Page last modified on June 01, 2015, at 06:45 am