[][src]Function http_service_hyper::serve

pub fn serve<S: HttpService>(
    s: S,
    addr: SocketAddr
) -> impl Future<Output = Result<(), Error>>

Serve the given HttpService at the given address, using hyper as backend, and return a Future that can be awaited on.