1
2
3
4
5
6
7
8
9
10
#[cfg(feature = "hyper")]
pub mod adapter;
use crate::message::Result;
pub trait Builder<R> {
fn header(&mut self, key: &str, value: http::header::HeaderValue);
fn body(&mut self, bytes: Vec<u8>) -> Result<R>;
fn finish(&mut self) -> Result<R>;
}