Skip to main content

run_http

Function run_http 

Source
pub async fn run_http(state: AppState, addr: SocketAddr) -> Result<()>
Expand description

Convenience: bind addr and serve via run_http_on.