vix-http-client 1.2.0

A minimal HTTP client driven by a `.http`-style buffer.
Documentation
  • Coverage
  • 100%
    8 out of 8 items documented0 out of 3 items with examples
  • Size
  • Source code size: 24.73 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 502.53 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • vixide/vix
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • joelparkerhenderson

A minimal HTTP client driven by a .http-style buffer, sent with the pure-Rust ureq client.

The buffer format (a common "REST client" shape):

POST https://api.example.com/things
Content-Type: application/json
Authorization: Bearer TOKEN

{"name": "widget"}

The first non-blank, non-comment line is METHOD url (the method is optional and defaults to GET); following lines up to a blank line are Header: value; everything after the blank line is the request body. Lines starting with # or // are comments. Parsing is pure and unit-tested; [send] performs the (blocking) request and is meant to be called from a background thread.