hyper-body-utils
hyper-body-utils is a collection of utilities for working with hyper bodies.
Quick Start
Add to your Cargo.toml:
[dependencies]
hyper-body-utils = { version = "0.1.0" }
Basic usage:
use hyper_body_utils::HttpBody;
let bytes_body = HttpBody::from_bytes(b"Hello, world!");
//or
let text_body: HttpBody = "Another world!!".into();
Examples
Check out the examples for complete examples of how to use hyper-body-utils in your projects.
Documentation
License
This project is licensed under the MIT License.
Author
Rogerio Pereira Araujo rogerio.araujo@gmail.com