Function mpstthree::transport::http::send::send_http[][src]

pub fn send_http<T, S>(
    x: T,
    s: Send<T, S>,
    http: bool,
    method: Method,
    uri: &str,
    header: Vec<(&str, &str)>,
    body: &'static str
) -> Result<(S, ResponseFuture), Box<dyn Error>> where
    T: Send,
    S: Session
This is supported on crate features transport or transport_http only.
Expand description

Send a value of type T over http. Returns the continuation of the session S. May fail.

This function is available only if MultiCrusty is built with the "transport" feature or the "transport_http" feature.