mithril_common::test_utils::test_http_server

Function test_http_server_with_socket_address

source
pub fn test_http_server_with_socket_address<F>(
    filters: F,
    socket_addr: SocketAddr,
) -> TestHttpServer
where F: Filter + Clone + Send + Sync + 'static, F::Extract: Reply,
Expand description

Spawn a TestHttpServer using the given warp filters