/
Launch Apollo Studio


EXTENSION

NetworkTransport

public extension NetworkTransport

Properties

clientName

var clientName: String

clientVersion

var clientVersion: String

Methods

addApolloClientHeaders(to:)

func addApolloClientHeaders(to request: inout URLRequest)

Adds the Apollo client headers for this instance of NetworkTransport to the given request

  • Parameter request: A mutable URLRequest to add the headers to.

Parameters

NameDescription
requestA mutable URLRequest to add the headers to.
Edit on GitHub