api documentation for node-fetch (v1.6.3)

A light-weight module that brings window.fetch to node.js and io.js

table of contents

  1. module node-fetch
    1. function node-fetch.Headers (headers)
    2. function node-fetch.Promise ()
    3. function node-fetch.Request (input, init)
    4. function node-fetch.Response (body, opts)
    5. function node-fetch.body (body, opts)
    6. function node-fetch.default (url, opts)
    7. function node-fetch.fetch_error (message, type, systemError)
    8. object node-fetch.Headers.prototype
    9. object node-fetch.Request.prototype
    10. object node-fetch.Response.prototype
    11. object node-fetch.body.prototype
  2. module node-fetch.Headers
    1. function node-fetch.Headers (headers)
  3. module node-fetch.Headers.prototype
    1. function node-fetch.Headers.prototype.append (name, value)
    2. function node-fetch.Headers.prototype.delete (name)
    3. function node-fetch.Headers.prototype.forEach (callback, thisArg)
    4. function node-fetch.Headers.prototype.get (name)
    5. function node-fetch.Headers.prototype.getAll (name)
    6. function node-fetch.Headers.prototype.has (name)
    7. function node-fetch.Headers.prototype.raw ()
    8. function node-fetch.Headers.prototype.set (name, value)
  4. module node-fetch.Request
    1. function node-fetch.Request (input, init)
  5. module node-fetch.Request.prototype
    1. function node-fetch.Request.prototype.clone ()
  6. module node-fetch.Response
    1. function node-fetch.Response (body, opts)
  7. module node-fetch.Response.prototype
    1. function node-fetch.Response.prototype.clone ()
  8. module node-fetch.body
    1. function node-fetch.body (body, opts)
    2. function node-fetch.body.Promise ()
  9. module node-fetch.body.prototype
    1. function node-fetch.body.prototype._clone (instance)
    2. function node-fetch.body.prototype._convert (encoding)
    3. function node-fetch.body.prototype._decode ()
    4. function node-fetch.body.prototype.buffer ()
    5. function node-fetch.body.prototype.json ()
    6. function node-fetch.body.prototype.text ()
  10. module node-fetch.fetch_error
    1. function node-fetch.fetch_error (message, type, systemError)
    2. function node-fetch.fetch_error.super_ ()

module node-fetch

function node-fetch.Headers (headers)

function node-fetch.Promise ()

function node-fetch.Request (input, init)

function node-fetch.Response (body, opts)

function node-fetch.body (body, opts)

function node-fetch.default (url, opts)

function node-fetch.fetch_error (message, type, systemError)

module node-fetch.Headers

function node-fetch.Headers (headers)

module node-fetch.Headers.prototype

function node-fetch.Headers.prototype.append (name, value)

function node-fetch.Headers.prototype.delete (name)

function node-fetch.Headers.prototype.forEach (callback, thisArg)

function node-fetch.Headers.prototype.get (name)

function node-fetch.Headers.prototype.getAll (name)

function node-fetch.Headers.prototype.has (name)

function node-fetch.Headers.prototype.raw ()

function node-fetch.Headers.prototype.set (name, value)

module node-fetch.Request

function node-fetch.Request (input, init)

module node-fetch.Request.prototype

function node-fetch.Request.prototype.clone ()

module node-fetch.Response

function node-fetch.Response (body, opts)

module node-fetch.Response.prototype

function node-fetch.Response.prototype.clone ()

module node-fetch.body

function node-fetch.body (body, opts)

function node-fetch.body.Promise ()

module node-fetch.body.prototype

function node-fetch.body.prototype._clone (instance)

function node-fetch.body.prototype._convert (encoding)

function node-fetch.body.prototype._decode ()

function node-fetch.body.prototype.buffer ()

function node-fetch.body.prototype.json ()

function node-fetch.body.prototype.text ()

module node-fetch.fetch_error

function node-fetch.fetch_error (message, type, systemError)

function node-fetch.fetch_error.super_ ()

[ this document was created with utility2 ]