0.1.3 • Published 5 years ago

@dunai/http-client v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@dunai/http-client

HTTP client

  • can use with any serverside frameworks
  • can use with @dunai/server
  • you can use many custom presets
  • you can use middleware
  • best for testing
  • bases on request.js

[@dunai/http-client]

Class [HttpClient] and instance of the class [Http]

[@dunai/http-client/testing]

Class [HttpClientMock] and instance of the class [HttpMock]

or

you can use [Http], this instance of class [HttpClient] already configured for testing

TODO

  • redirect - code
  • sendText
  • json
  • sendFile
  • headers -
  • range -