IPWorks WebSockets 2020 macOS Edition

Questions / Feedback?

Connect Method

Connects to the specified host.

Syntax

public func connect(url: String) throws -> Void

Remarks

The Connect method will establish a WebSocket connection to the host and port specified in the URL parameter. The URL must be specified in the format "ws://host:[port]/[URI]" for plain-text connections or "wss://host:[port]/[URI]" for SSL enabled connections.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 macOS Edition - Version 20.0 [Build 8155]