Skip to main content

send_on

Function send_on 

pub async fn send_on<IO>(
    stream: &mut IO,
    request_id: u16,
    request: FastCgiClientRequest,
    keep_conn: bool,
) -> Result<FastCgiClientResponse, ClientError>
where IO: AsyncRead + AsyncWrite + Unpin + Send,
Available on crate feature fastcgi only.
Expand description

Send a FastCGI request on an existing stream and return the response.

Uses ClientOptions::default() for caps and timeouts. For custom options use send_on_with_options.