---
title: "remote(serverName:signalingHeaders:)"
framework: foveatedstreaming
role: symbol
role_heading: Type Method
path: "foveatedstreaming/foveatedstreamingsession/endpoint/remote(servername:signalingheaders:)"
---

# remote(serverName:signalingHeaders:)

Connects to a remote endpoint by server name.

## Declaration

```swift
static func remote(serverName: String, signalingHeaders: [String : String]) -> FoveatedStreamingSession.Endpoint
```

## Discussion

Discussion The framework uses the server name to look up the remote URL from the app’s ApprovedStreamingEndpoints in Info.plist. Parameter serverName: The server name corresponding to an entry in the ApprovedStreamingEndpoints dictionary. signalingHeaders: HTTP headers which the session forwards to the remote server. Use these headers for authentication and session management.
