SocketEngineWebsocket
public protocol SocketEngineWebsocket : SocketEngineSpecProtocol that is used to implement socket.io WebSocket support
- 
                  
                  Whether or not the ws is connected DeclarationSwift var wsConnected: Bool { get }
- 
                  sendWebSocketMessage(_:Default implementationwithType: withData: completion: ) Sends an engine.io message through the WebSocket transport. You shouldn’t call this directly, instead call the writemethod onSocketEngine.Default ImplementationSends an engine.io message through the WebSocket transport. You shouldn’t call this directly, instead call the writemethod onSocketEngine.DeclarationSwift func sendWebSocketMessage(_ str: String, withType type: SocketEnginePacketType, withData datas: [Data], completion: (() -> ())?)ParametersmessageThe message to send. withTypeThe type of message to send. withDataThe data associated with this message. completionCallback called on transport write completion. 
 SocketEngineWebsocket Protocol Reference
      SocketEngineWebsocket Protocol Reference