Skip to main content

request_within

Function request_within 

Source
pub async fn request_within(
    socket: &Path,
    request: &AdminRequest,
    timeout: Duration,
) -> Result<AdminResponse>
Expand description

request, bounded by timeout. The answer is read one line, not to the end of the stream: a collector that closes with part of a request unread resets the connection on Linux, after its answer.