Module tk_http::client::buffered [] [src]

Simple to use wrappers for dealing with fully buffered requests

By "fully buffered" I mean two things:

  • No request or response streaming
  • All headers and body are allocated on the heap

Raw interface allows more granular control to make things more efficient, but requires more boilerplate. You can mix and match different styles on single HTTP connection.

Structs

Buffered

Fully buffered (in-memory) writing request and reading response

Response

A buffered response holds contains a body as contiguous chunk of data