Skip to main content

BaseURL

A struct representing base URL for ChatClient.

public struct BaseURL: CustomStringConvertible 

Inheritance

CustomStringConvertible

Initializers

init(url:)

Init with a custom server URL.

public init(url: URL) 

Parameters

  • url: an URL

Properties

usEast

The base URL for StreamChat data center located in the US East Cost.

public static let usEast = BaseURL(urlString: "https://chat-proxy-us-east.stream-io-api.com/")!

dublin

The base URL for StreamChat data center located in Dublin.

public static let dublin = BaseURL(urlString: "https://chat-proxy-dublin.stream-io-api.com/")!

singapore

The base URL for StreamChat data center located in Singapore.

public static let singapore = BaseURL(urlString: "https://chat-proxy-singapore.stream-io-api.com/")!

sydney

The base URL for StreamChat data center located in Sydney.

public static let sydney = BaseURL(urlString: "https://chat-proxy-sydney.stream-io-api.com/")!

description

public var description: String 

Did you find this page helpful?