ZiwoWebSocket

public class ZiwoWebSocket

ZiwoWebSocket is the parent class of DomainWebSocket and VertoWebSocket that contain the web socket of those two classes. It also have a boolean that can be set in the child classes to activate or deactivate the logs.

  • The websocket connected to Verto or the Ziwo domain.

    Declaration

    Swift

    internal var webSocket: WebSocket?
  • Boolean that activate / deactivate the debug mode.

    Declaration

    Swift

    internal var debug: Bool

Utils Methods

  • Parent method that prints log of VertoWebSocket and DomainWebSocket classes.

    Declaration

    Swift

    func printLog(message: String)

    Parameters

    message

    Message to display in console.