---
title: "makeEndpoint(from:)"
framework: wifiaware
role: symbol
role_heading: Instance Method
path: "wifiaware/wasubscriberbrowser/makeendpoint(from:)"
---

# makeEndpoint(from:)

Creates a connectable Wi-Fi Aware endpoint from a browse result.

## Declaration

```swift
func makeEndpoint(from browseResult: NWBrowser.Result) throws -> WASubscriberBrowser.Endpoint?
```

## Parameters

- `browseResult`: The result of the NWBrowser operation.

## Return Value

Return Value A WAEndpoint that you can connect to, or nil if it can’t be created.

## Discussion

Discussion note: An error if the result isn’t valid.

## See Also

### Creating browser implementation details

- [makeDescriptor()](wifiaware/wasubscriberbrowser/makedescriptor().md)
- [configureParameters(_:)](wifiaware/wasubscriberbrowser/configureparameters(_:).md)
