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

# testStructArgumentRequest(with:completionHandler:)

## Declaration

```swift
func testStructArgumentRequest(with params: MTRTestClusterClusterTestStructArgumentRequestParams, completionHandler: @escaping @Sendable (MTRTestClusterClusterBooleanResponseParams?, (any Error)?) -> Void)
```

```swift
func testStructArgumentRequest(with params: MTRTestClusterClusterTestStructArgumentRequestParams) async throws -> MTRTestClusterClusterBooleanResponseParams
```
