jaguar_resty 3.0.0 copy "jaguar_resty: ^3.0.0" to clipboard
jaguar_resty: ^3.0.0 copied to clipboard

Build fluent functional REST clients. Supports interceptors, cookies, multipart forms and authenticators.

jaguar_resty #

Build fluent functional Restful clients

Features #

  • Fluent API to set:
    • Hierarchical paths
      • get('http://localhost:8080/api/book/${id}').go()
      • get('http://localhost:8080/api').path('book').path(id).go()
    • Query parameters
      • get('/books').query('page', '2').go()
    • Headers
      • get('/book').header('page', '2').go()
    • Body
      • post('/book').json(Book('1', 'Harry potter')).go()
  • JSON request encoding
    • post('/book').json(Book('1', 'Harry potter')).go()
  • JSON request decoding
    • get('/book/1').readOne(Book.fromMap)
  • URL encoded forms
  • Multipart form
  • Cookie jar
    • get('/data').before(jar).go()
  • Interceptors
    • get('/data').before(jar).go()
  • Authenticators

TODO #

  • Connection pool
  • Per host connection pool
0
likes
110
pub points
59%
popularity

Publisher

unverified uploader

Build fluent functional REST clients. Supports interceptors, cookies, multipart forms and authenticators.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, auth_header, client_cookie, collection, http, http_parser, meta, path

More

Packages that depend on jaguar_resty