# fidl::Client

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1a2385bdffc91ded116b2b99dfe687532d(https://fuchsia.dev/reference/cpp/other/singletonfidl/client-end#singletonfidl_1_1_client_end< Protocol > client_end, async_dispatcher_t *dispatcher, https://fuchsia.dev/reference/cpp/other/singletonfidl/async-event-handler#singletonfidl_1_1_async_event_handler *event_handler)` ||
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1a5a7510fdbd6f0be31b337dca6f8ca789()` ||
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1ac4a40c176533e8a13436c99a62bc1246(https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client && other)` ||
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1aed42374d2e65b77b3972c5d99bf085a8()` ||

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1ac05d4e18115ccba6250612d75b875e55(https://fuchsia.dev/reference/cpp/other/singletonfidl/client-end#singletonfidl_1_1_client_end< Protocol > client_end, async_dispatcher_t *dispatcher, https://fuchsia.dev/reference/cpp/other/singletonfidl/async-event-handler#singletonfidl_1_1_async_event_handler< Protocol > *event_handler)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1a6505640a2ececc888b89a0590480b867()` | `https://fuchsia.dev/reference/cpp/other/singletonfit/result#singletonfit_1_1result< https://fuchsia.dev/reference/cpp/class/fidl/status#classfidl_1_1_status, https://fuchsia.dev/reference/cpp/other/singletonfidl/client-end#singletonfidl_1_1_client_end< Protocol > >` |
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1afad222fda193ae4d6c3a2ee2d05a37dc() const ` | `bool` |
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1a220ade384fc2629d15f8c23237b6ce38() const ` | ` `` ` |
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1a95629e9d79b1ae528027967073da0295() const ` | `const NaturalClientImpl &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1ac3ed54ab4da6188af1e370d5067f66d4() const ` | `const NaturalClientImpl *` |
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1a30d2dce56104d261cdbcaac7e7f87567(https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client && other) noexcept` | `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/client#classfidl_1_1_client_1a339d8dc79d10df00c523adc1ed72eeaf() const ` | `auto` |

## Public functions

### Bind

```c++
void Bind(
  fidl::ClientEnd< Protocol > client_end,
  async_dispatcher_t *dispatcher,
  fidl::AsyncEventHandler< Protocol > *event_handler
)
```

### Client

```c++
 Client(
  fidl::ClientEnd< Protocol > client_end,
  async_dispatcher_t *dispatcher,
  AsyncEventHandler *event_handler
)
```

### Client

```c++
 Client()=default
```

### Client

```c++
 Client(
  Client && other
) noexcept
```

### UnbindMaybeGetEndpoint

```c++
fit::result< fidl::Error, fidl::ClientEnd< Protocol > > UnbindMaybeGetEndpoint()
```

### is_valid

```c++
bool is_valid() const 
```

### operator bool

```c++
 operator bool() const 
```

### operator\*

```c++
const NaturalClientImpl & operator*() const 
```

### operator-\>

```c++
const NaturalClientImpl * operator->() const 
```

### operator=

```c++
Client & operator=(
  Client && other
) noexcept
```

### wire

```c++
auto wire() const 
```

### \~Client

```c++
 ~Client()=default
```