Contract for an implementation of the WebSocket protocol v8. More...
Instance Methods | |
(int) | - bufferedAmount |
Gets the number of bytes buffered in the send queue. More... | |
(void) | - close |
Closes the WebSocket connection. More... | |
(void) | - closeWithCloseArgs: |
Closes the WebSocket connection. More... | |
(bool) | - isOpen |
Gets a value indicating whether the WebSocket is connected. More... | |
(void) | - openWithOpenArgs: |
Opens the WebSocket connection. More... | |
(bool) | - secure |
Gets a value indicating whether the WebSocket is secure. More... | |
(void) | - sendWithSendArgs: |
Sends a message to the WebSocket server. More... | |
Contract for an implementation of the WebSocket protocol v8.
- (int) bufferedAmount |
Gets the number of bytes buffered in the send queue.
Reimplemented in FMLiveSwitchWebSocket.
- (void) close |
Closes the WebSocket connection.
Reimplemented in FMLiveSwitchWebSocket.
- (void) closeWithCloseArgs: | (FMLiveSwitchWebSocketCloseArgs *) | closeArgs |
Closes the WebSocket connection.
closeArgs | The close arguments |
Reimplemented in FMLiveSwitchWebSocket.
- (bool) isOpen |
Gets a value indicating whether the WebSocket is connected.
Reimplemented in FMLiveSwitchWebSocket.
- (void) openWithOpenArgs: | (FMLiveSwitchWebSocketOpenArgs *) | openArgs |
Opens the WebSocket connection.
openArgs | The open arguments. |
Reimplemented in FMLiveSwitchWebSocket.
- (bool) secure |
Gets a value indicating whether the WebSocket is secure.
Reimplemented in FMLiveSwitchWebSocket.
- (void) sendWithSendArgs: | (FMLiveSwitchWebSocketSendArgs *) | sendArgs |
Sends a message to the WebSocket server.
sendArgs | The send arguments. |
Reimplemented in FMLiveSwitchWebSocket.