---
title: client_request_and_body
summary: Get handles to the client request headers and body at the same time.
url: https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/handle/fn.client_request_and_body/
---

**Kind:** Function  
**Module:** [handle](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/handle/)  
**Package:** fastly 0.13.1  
**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/http/request/handle.rs#1878

```rust
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)`
