---
title: "init(to:using:)"
framework: network
role: symbol
role_heading: Initializer
path: "network/networkconnection/init(to:using:)-6yzx9"
---

# init(to:using:)

Create a new outbound connection to an endpoint, with parameters. The parameters determine the protocols to be used for the connection, and their options.

## Declaration

```swift
convenience init(to provider: any Connectable, using builder: NWParametersBuilder<ApplicationProtocol>)
```
