---
title: ProxyConfiguration.RelayHop
framework: network
role: symbol
role_heading: Structure
path: network/proxyconfiguration/relayhop
---

# ProxyConfiguration.RelayHop

A single relay server you can chain together with other servers.

## Declaration

```swift
struct RelayHop
```

## Overview

Overview Relay servers are secure HTTP proxies that allow proxying TCP traffic using the CONNECT method and UDP traffic using the connect-udp protocol defined in RFC 9298.

## Topics

### Creating Relay Hops

- [init(http3RelayEndpoint:http2RelayEndpoint:tlsOptions:additionalHTTPHeaderFields:)](network/proxyconfiguration/relayhop/init(http3relayendpoint:http2relayendpoint:tlsoptions:additionalhttpheaderfields:).md)
- [init(http2RelayEndpoint:tlsOptions:additionalHTTPHeaderFields:)](network/proxyconfiguration/relayhop/init(http2relayendpoint:tlsoptions:additionalhttpheaderfields:).md)

## Relationships

### Conforms To

- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Creating Proxy Configurations

- [init(relayHops:)](network/proxyconfiguration/init(relayhops:).md)
- [init(httpCONNECTProxy:tlsOptions:)](network/proxyconfiguration/init(httpconnectproxy:tlsoptions:).md)
- [init(socksv5Proxy:)](network/proxyconfiguration/init(socksv5proxy:).md)
