[][src]Function fastly::request::downstream_request

pub fn downstream_request() -> Result<Request<Body>, Error>

Get the downstream request.

This may be called exactly once per execution, otherwise an error is returned.

Note, this currently copies the entire body of the request into the guest. Future revisions of this API will allow streaming through this interface.