---
title: "createResponse(_:)"
framework: networkextension
role: symbol
role_heading: Instance Method
path: "networkextension/nehotspothelpercommand/createresponse(_:)"
---

# createResponse(_:)

Create a response to the command.

## Declaration

```swift
func createResponse(_ result: NEHotspotHelperResult) -> NEHotspotHelperResponse
```

## Parameters

- `result`: The result of handling the command.

## Return Value

Return Value A NEHotspostHelperResponse object.

## See Also

### Response creation

- [NEHotspotHelperResult](networkextension/nehotspothelperresult.md)
