---
title: "testNullableOptionalRequest(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustertestcluster/testnullableoptionalrequest(with:completionhandler:)"
---

# testNullableOptionalRequest(with:completionHandler:)

## Declaration

```swift
func testNullableOptionalRequest(with params: MTRTestClusterClusterTestNullableOptionalRequestParams?, completionHandler: @escaping @Sendable (MTRTestClusterClusterTestNullableOptionalResponseParams?, (any Error)?) -> Void)
```

```swift
func testNullableOptionalRequest(with params: MTRTestClusterClusterTestNullableOptionalRequestParams?) async throws -> MTRTestClusterClusterTestNullableOptionalResponseParams
```
