An open API service indexing awesome lists of open source software.

https://github.com/murphsicles/http-body

@net/http-body - Streaming HTTP body trait for Zeta
https://github.com/murphsicles/http-body

Last synced: 22 days ago
JSON representation

@net/http-body - Streaming HTTP body trait for Zeta

Awesome Lists containing this project

README

          

# @net/http-body — Streaming HTTP Body Trait for Zeta

Zeta port of the [hyperium/http-body](https://github.com/hyperium/http-body) library (v1.0.1).

## Features

- `Body` trait for streaming HTTP request/response bodies
- `Frame` — individual data or trailers frame
- `SizeHint` — bounds on remaining body length

## Types

- `Body` trait — poll_frame, is_end_stream, size_hint
- `Frame` — data or trailers frame
- `SizeHint` — lower/upper size bounds

## License

MIT