pub trait Request: Serialize + Send {
type Response: DeserializeOwned;
const METHOD: Method;
const PATH: &'static str;
const HAS_PAYLOAD: bool;
}
Expand description
An HTTP Request
pub trait Request: Serialize + Send {
type Response: DeserializeOwned;
const METHOD: Method;
const PATH: &'static str;
const HAS_PAYLOAD: bool;
}
An HTTP Request