execute_cgi_send

Function execute_cgi_send 

Source
pub async fn execute_cgi_send<B, R>(
    request: Request<B>,
    runtime: R,
    cmd: &OsStr,
    args: &[&OsStr],
    env: CgiBuilder,
    cwd: Option<PathBuf>,
) -> Result<(Response<CgiIncoming<CgiResponseInner<<R::Child as SendChild>::Stdout>>>, Option<<R::Child as SendChild>::Stderr>, Option<ExitStatus>), Error>
where B: Body + Send + 'static, B::Data: AsRef<[u8]> + Send + 'static, B::Error: Into<Error>, R: SendRuntime,
Available on crate feature client only.
Expand description

Executes a CGI program, on a Send runtime, returning the response and error streams.