---
title: "registerClient(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustericdmanagement/registerclient(with:completion:)"
---

# registerClient(with:completion:)

Command RegisterClient

## Declaration

```swift
func registerClient(with params: MTRICDManagementClusterRegisterClientParams, completion: @escaping @Sendable (MTRICDManagementClusterRegisterClientResponseParams?, (any Error)?) -> Void)
```

```swift
func registerClient(with params: MTRICDManagementClusterRegisterClientParams) async throws -> MTRICDManagementClusterRegisterClientResponseParams
```

## Discussion

Discussion This command allows a client to register itself with the ICD to be notified when the device is available for communication.
