@ciscospark/http-core

Core HTTP library for the Cisco Webex

WARNING: We renamed this module to @webex/http-core. Please install it instead. See https://github.com/webex/spark-js-sdk#the-cisco-webex-js-sdk for more information.
Last updated a year ago by webex-jenkins .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @ciscospark/http-core 
SYNC missed versions from official npm registry.

@ciscospark/http-core

standard-readme compliant

Core HTTP library for the Cisco Webex JS SDK.

Install

npm install --save @ciscospark/http-core

Usage

detect(), detectSync()

Detects the filetype of the specified file.

request()

Same api as request with the following changes:

  • Promise-based instead of nodeback based
  • Adds an interceptors property to the options object for adding classes that intercept and modify each request
  • 4XX and 5XX responses get rejected with the appropriate subclassed Error type
  • Sensible defaults for our API ({json:true}, etc)

defaults()

Curried version of request() that produces an http client with overridden defaults.

HttpError

Child of Error (by way of Exception from @ciscospark/common). Has subclassed errors for each official HTTP status code (and 429 Too Man Requests).

Maintainers

This package is maintained by Cisco Webex for Developers.

Contribute

Pull requests welcome. Please see CONTRIBUTING.md for more details.

License

© 2016-2018 Cisco and/or its affiliates. All Rights Reserved.

Current Tags

  • 0.7.0-alpha.a5bc0482                                ...           canary (4 years ago)
  • 1.52.2                                ...           latest (a year ago)
  • 0.7.0-alpha.10dc6ffb                                ...           lerna-temp (4 years ago)
  • 0.6.4                                ...           stable (4 years ago)

177 Versions

  • 1.52.2 [deprecated]           ...           a year ago
  • 1.52.1 [deprecated]           ...           a year ago
  • 1.52.0 [deprecated]           ...           a year ago
  • 1.50.19 [deprecated]           ...           a year ago
  • 1.50.18 [deprecated]           ...           a year ago
  • 1.50.17 [deprecated]           ...           a year ago
  • 1.50.16 [deprecated]           ...           a year ago
  • 1.50.15 [deprecated]           ...           a year ago
  • 1.50.13 [deprecated]           ...           a year ago
  • 1.50.12 [deprecated]           ...           a year ago
  • 1.50.11 [deprecated]           ...           a year ago
  • 1.50.6 [deprecated]           ...           a year ago
  • 1.50.3 [deprecated]           ...           a year ago
  • 1.50.2 [deprecated]           ...           a year ago
  • 1.50.1 [deprecated]           ...           a year ago
  • 1.50.0 [deprecated]           ...           a year ago
  • 1.49.3 [deprecated]           ...           a year ago
  • 1.49.1 [deprecated]           ...           a year ago
  • 1.49.0 [deprecated]           ...           a year ago
  • 1.48.0 [deprecated]           ...           a year ago
  • 1.47.3 [deprecated]           ...           a year ago
  • 1.47.1 [deprecated]           ...           a year ago
  • 1.46.2 [deprecated]           ...           a year ago
  • 1.45.3 [deprecated]           ...           a year ago
  • 1.45.2 [deprecated]           ...           a year ago
  • 1.45.0 [deprecated]           ...           a year ago
  • 1.44.11 [deprecated]           ...           a year ago
  • 1.44.10 [deprecated]           ...           a year ago
  • 1.44.9 [deprecated]           ...           a year ago
  • 1.44.8 [deprecated]           ...           a year ago
  • 1.44.7 [deprecated]           ...           a year ago
  • 1.44.6 [deprecated]           ...           a year ago
  • 1.44.4 [deprecated]           ...           a year ago
  • 1.44.1 [deprecated]           ...           a year ago
  • 1.43.7 [deprecated]           ...           2 years ago
  • 1.43.6 [deprecated]           ...           2 years ago
  • 1.43.5 [deprecated]           ...           2 years ago
  • 1.43.4 [deprecated]           ...           2 years ago
  • 1.43.3 [deprecated]           ...           2 years ago
  • 1.43.2 [deprecated]           ...           2 years ago
  • 1.42.5 [deprecated]           ...           2 years ago
  • 1.42.4 [deprecated]           ...           2 years ago
  • 1.42.2 [deprecated]           ...           2 years ago
  • 1.40.2 [deprecated]           ...           2 years ago
  • 1.40.1 [deprecated]           ...           2 years ago
  • 1.40.0 [deprecated]           ...           2 years ago
  • 1.39.1 [deprecated]           ...           2 years ago
  • 1.38.1 [deprecated]           ...           2 years ago
  • 1.37.2 [deprecated]           ...           2 years ago
  • 1.37.1 [deprecated]           ...           2 years ago
  • 1.34.2 [deprecated]           ...           2 years ago
  • 1.33.1 [deprecated]           ...           2 years ago
  • 1.32.23 [deprecated]           ...           2 years ago
  • 1.32.22 [deprecated]           ...           2 years ago
  • 1.32.21 [deprecated]           ...           2 years ago
  • 1.32.20 [deprecated]           ...           2 years ago
  • 1.32.19 [deprecated]           ...           2 years ago
  • 1.32.16 [deprecated]           ...           2 years ago
  • 1.32.15 [deprecated]           ...           2 years ago
  • 1.32.14 [deprecated]           ...           2 years ago
  • 1.32.13 [deprecated]           ...           2 years ago
  • 1.32.12 [deprecated]           ...           2 years ago
  • 1.32.11 [deprecated]           ...           2 years ago
  • 1.32.8 [deprecated]           ...           2 years ago
  • 1.32.7 [deprecated]           ...           2 years ago
  • 1.31.3 [deprecated]           ...           2 years ago
  • 1.31.2 [deprecated]           ...           2 years ago
  • 1.31.1 [deprecated]           ...           2 years ago
  • 1.30.1 [deprecated]           ...           2 years ago
  • 1.29.6 [deprecated]           ...           2 years ago
  • 1.29.4 [deprecated]           ...           2 years ago
  • 1.29.2 [deprecated]           ...           2 years ago
  • 1.28.5 [deprecated]           ...           2 years ago
  • 1.28.4 [deprecated]           ...           2 years ago
  • 1.28.2 [deprecated]           ...           2 years ago
  • 1.27.1 [deprecated]           ...           2 years ago
  • 1.25.1 [deprecated]           ...           2 years ago
  • 1.23.8 [deprecated]           ...           2 years ago
  • 1.23.4 [deprecated]           ...           2 years ago
  • 1.21.4 [deprecated]           ...           2 years ago
  • 1.21.3 [deprecated]           ...           2 years ago
  • 1.21.2 [deprecated]           ...           2 years ago
  • 1.21.1 [deprecated]           ...           2 years ago
  • 1.21.0 [deprecated]           ...           2 years ago
  • 1.19.8 [deprecated]           ...           3 years ago
  • 1.19.7 [deprecated]           ...           3 years ago
  • 1.19.5 [deprecated]           ...           3 years ago
  • 1.19.4 [deprecated]           ...           3 years ago
  • 1.19.3 [deprecated]           ...           3 years ago
  • 1.18.0 [deprecated]           ...           3 years ago
  • 1.17.1 [deprecated]           ...           3 years ago
  • 1.14.3 [deprecated]           ...           3 years ago
  • 1.12.2 [deprecated]           ...           3 years ago
  • 1.9.3 [deprecated]           ...           3 years ago
  • 1.8.0 [deprecated]           ...           3 years ago
  • 1.1.11 [deprecated]           ...           3 years ago
  • 1.1.6 [deprecated]           ...           3 years ago
  • 1.0.0 [deprecated]           ...           3 years ago
  • 0.10.1 [deprecated]           ...           3 years ago
  • 0.10.0 [deprecated]           ...           3 years ago
  • 0.8.1 [deprecated]           ...           3 years ago
  • 0.8.0 [deprecated]           ...           3 years ago
  • 0.7.87 [deprecated]           ...           3 years ago
  • 0.7.86 [deprecated]           ...           3 years ago
  • 0.7.81 [deprecated]           ...           3 years ago
  • 0.7.80 [deprecated]           ...           3 years ago
  • 0.7.78 [deprecated]           ...           3 years ago
  • 0.7.77 [deprecated]           ...           3 years ago
  • 0.7.71 [deprecated]           ...           3 years ago
  • 0.7.69 [deprecated]           ...           3 years ago
  • 0.7.53 [deprecated]           ...           3 years ago
  • 0.7.34 [deprecated]           ...           3 years ago
  • 0.7.33 [deprecated]           ...           3 years ago
  • 0.7.32 [deprecated]           ...           3 years ago
  • 0.7.31 [deprecated]           ...           3 years ago
  • 0.7.30 [deprecated]           ...           3 years ago
  • 0.7.29 [deprecated]           ...           3 years ago
  • 0.7.28 [deprecated]           ...           3 years ago
  • 0.7.27 [deprecated]           ...           3 years ago
  • 0.7.26 [deprecated]           ...           3 years ago
  • 0.7.25 [deprecated]           ...           3 years ago
  • 0.7.24 [deprecated]           ...           3 years ago
  • 0.7.23 [deprecated]           ...           3 years ago
  • 0.7.22 [deprecated]           ...           3 years ago
  • 0.7.21 [deprecated]           ...           3 years ago
  • 0.7.20 [deprecated]           ...           3 years ago
  • 0.7.19 [deprecated]           ...           3 years ago
  • 0.7.18 [deprecated]           ...           3 years ago
  • 0.7.17 [deprecated]           ...           3 years ago
  • 0.7.16 [deprecated]           ...           3 years ago
  • 0.7.15 [deprecated]           ...           3 years ago
  • 0.7.14 [deprecated]           ...           3 years ago
  • 0.7.13 [deprecated]           ...           3 years ago
  • 0.7.12 [deprecated]           ...           3 years ago
  • 0.7.11 [deprecated]           ...           4 years ago
  • 0.7.10 [deprecated]           ...           4 years ago
  • 0.7.9 [deprecated]           ...           4 years ago
  • 0.7.8 [deprecated]           ...           4 years ago
  • 0.7.7 [deprecated]           ...           4 years ago
  • 0.7.6 [deprecated]           ...           4 years ago
  • 0.7.5 [deprecated]           ...           4 years ago
  • 0.7.4 [deprecated]           ...           4 years ago
  • 0.7.3 [deprecated]           ...           4 years ago
  • 0.7.1 [deprecated]           ...           4 years ago
  • 0.7.0 [deprecated]           ...           4 years ago
  • 0.7.0-alpha.10dc6ffb                                ...           4 years ago
  • 0.7.0-alpha.56d7a220                                ...           4 years ago
  • 0.7.0-alpha.9ee819d2                                ...           4 years ago
  • 0.7.0-alpha.9d9521d6                                ...           4 years ago
  • 0.7.0-alpha.5e822d8d                                ...           4 years ago
  • 0.7.0-alpha.47f01fff                                ...           4 years ago
  • 0.7.0-alpha.03ed609c                                ...           4 years ago
  • 0.7.0-alpha.416acac8                                ...           4 years ago
  • 0.7.0-alpha.e30d743f                                ...           4 years ago
  • 0.7.0-alpha.a125535f                                ...           4 years ago
  • 0.7.0-alpha.677de49c                                ...           4 years ago
  • 0.7.0-alpha.c4c1fbb6                                ...           4 years ago
  • 0.7.0-alpha.61b875c7                                ...           4 years ago
  • 0.7.0-alpha.219130c3                                ...           4 years ago
  • 0.7.0-alpha.f22f099e                                ...           4 years ago
  • 0.7.0-alpha.72d4530e                                ...           4 years ago
  • 0.7.0-alpha.9c5d5b7c                                ...           4 years ago
  • 0.7.0-alpha.4ea67a40                                ...           4 years ago
  • 0.7.0-alpha.3266717c                                ...           4 years ago
  • 0.7.0-alpha.73de98f3                                ...           4 years ago
  • 0.7.0-alpha.a1d2bd56                                ...           4 years ago
  • 0.7.0-alpha.7432d01a                                ...           4 years ago
  • 0.7.0-alpha.a5bc0482                                ...           4 years ago
  • 0.7.0-alpha.ce9393d4                                ...           4 years ago
  • 0.6.9 [deprecated]           ...           4 years ago
  • 0.6.4 [deprecated]           ...           4 years ago
  • 0.6.3 [deprecated]           ...           4 years ago
  • 0.6.1 [deprecated]           ...           4 years ago
  • 0.6.0 [deprecated]           ...           4 years ago
  • 0.6.0-35                                ...           4 years ago
  • 0.6.0-34                                ...           5 years ago
  • 0.6.0-31                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |