[−][src]Trait fastly::request::RequestExt
Required methods
fn send(self, backend: &str, ttl: i32) -> Result<Response<Body>, Error>
Send a request via the given backend, returning as soon as the headers are available.
fn inner_to_body(self) -> Result<Request<Body>, Error>
Replace the body of a request with a Body
with the same contents.
fn inner_to_bytes(self) -> Result<Request<Vec<u8>>, Error>
Replace the body of a request with the remaining contents of its body.
Note that this will involve copying and buffering the body, and so should only be used for convenience on small request bodies.