axum_test::util

Function new_random_socket_addr

Source
pub fn new_random_socket_addr() -> Result<SocketAddr>
Expand description

Generates a SocketAddr on the IP 127.0.0.1, using a random port.