Skip to main content

create_http_server

Function create_http_server 

Source
pub async fn create_http_server(
    pool: Arc<ConnectionPool>,
    config: Config,
    port: u16,
) -> Result<(), Box<dyn Error>>