---
title: "init(socksv5Proxy:)"
framework: network
role: symbol
role_heading: Initializer
path: "network/proxyconfiguration/init(socksv5proxy:)"
---

# init(socksv5Proxy:)

Initializes a SOCKSv5 proxy configuration.

## Declaration

```swift
init(socksv5Proxy: NWEndpoint)
```

## Parameters

- `socksv5Proxy`: A host endpoint identifying the SOCKS proxy server.

## See Also

### Creating Proxy Configurations

- [init(relayHops:)](network/proxyconfiguration/init(relayhops:).md)
- [ProxyConfiguration.RelayHop](network/proxyconfiguration/relayhop.md)
- [init(httpCONNECTProxy:tlsOptions:)](network/proxyconfiguration/init(httpconnectproxy:tlsoptions:).md)
