Expand description
Mocked types for client-side and server-side APIs.
Structsยง
- Client
Request - A mock implementation of
client::HttpRequest
which can spawn anHttpBuffer
. - Http
Buffer - A writable buffer which stores the boundary and content-length, if provided.
- Server
Request - A mock implementation of
server::HttpRequest
that can be read. - Stdout
Tee - A
Write
adapter that duplicates all data written to the inner writer as well as stdout.