client_request_and_body

Functionin handlefastly 0.13.1View source
fn client_request_and_body() -> (RequestHandle, BodyHandle)

Get handles to the client request headers and body at the same time.

This will panic if either the parts of the body have already been retrieved.

Returns

(RequestHandle, crate::handle::BodyHandle)