How to use the bl.call function in bl

To help you get started, we’ve selected a few bl examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mcollina / node-coap / lib / outgoing_message.js View on Github external
function OutgoingMessage(request, send) {
  BufferList.call(this)

  this._packet = {
      messageId: request.messageId
    , token: request.token
    , options: []
    , confirmable: false
    , ack: false
    , reset: false
  }

  var that = this

  if (request.confirmable) {
    // replying in piggyback
    this._packet.ack = true

bl

Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!

MIT
Latest version published 1 month ago

Package Health Score

89 / 100
Full package analysis

Popular bl functions