Function websocat::sessionserve::serve[][src]

pub fn serve<OE>(
    s1: Rc<dyn Specifier>,
    s2: Rc<dyn Specifier>,
    opts: Options,
    onerror: Rc<OE>
) -> impl Future<Item = (), Error = ()> where
    OE: Fn(Box<dyn Error>) + 'static,