---
title: "nw_relay_hop_add_additional_http_header_field(_:_:_:)"
framework: network
role: symbol
role_heading: Function
path: "network/nw_relay_hop_add_additional_http_header_field(_:_:_:)"
---

# nw_relay_hop_add_additional_http_header_field(_:_:_:)

Adds an HTTP header name and value pair to send as part of CONNECT requests to the relay.

## Declaration

```swift
func nw_relay_hop_add_additional_http_header_field(_ relay_hop: nw_relay_hop_t, _ field_name: UnsafePointer<CChar>, _ field_value: UnsafePointer<CChar>)
```

## Parameters

- `relay_hop`: The relay hop to modify.
- `field_name`: The HTTP header name.
- `field_value`: The HTTP header value.

## See Also

### Configuring Relay Hops

- [nw_relay_hop_create(_:_:_:)](network/nw_relay_hop_create(_:_:_:).md)
