Trait tinyhttp_internal::config::Route
source · [−]pub trait Route: DynClone {
fn get_path(&self) -> &str;
fn get_method(&self) -> Method;
fn get_body(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
fn post_body(&self) -> fn(_: Request) -> Vec<u8>;
}