use http_body::Body;
pub trait Protocol {
type Incoming;
type Outgoing;
type Body: Body;
type InternalRequest;
type InternalResponse;
fn into_internal(message: Self::Incoming) -> Self::InternalRequest;
fn from_internal(response: Self::InternalResponse) -> Self::Outgoing;
}
#[cfg(feature = "server")]
pub mod hyper_http;