Function serve

Source
pub async fn serve<Si: Sink, St: Stream, L: Listener<Si, St>, C: Metrics + Network<L, Si, St>>(
    context: C,
    address: SocketAddr,
)
Expand description

Serve metrics over HTTP (on all methods and paths) for the given address.