pub async fn bind_http(addr: SocketAddr) -> Result<TcpListener, Error>Expand description
Bind addr for the RDF4J HTTP facade, returning the listener before any
request is served.
Callers that must report readiness only once the socket is actually
bound (the daemonized waratah start handshake) bind first, report, then
hand the listener to serve_bound_with_shutdown — a bind failure
(address in use) then surfaces as an ordinary Err BEFORE readiness is
ever reported, instead of as a ready-reported process that dies during
teardown.