# Function client::member::request_body

> The `membership.request` body with a purpose-3 registration. Send it with `target.community_id` as the envelope `community_id`.

`zaun_community_protocol::client::member::request_body` · Function

```rust
pub fn request_body<impl Into<String>>(target: RegistrationTarget, member: &SecretKey, display_name: impl Into<String>, note: Option<String>, now_ms: u64) -> Result<Request, BuildError>
```

The `membership.request` body with a purpose-3 registration. Send it with
`target.community_id` as the envelope `community_id`.

# Errors
Signing or body errors (display name, note length).

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/client/member/fn.request_body.html)
