Falcon is a simple implementation of WebSocket protocol, based on RFC6455. The main class of this library is WebSocketServer, which includes:
- WebSocketConnected - triggered when a new client has connected
- WebSocketDataReceived - triggered when new data has received
- WebSocketDataSent - triggered when a data has been successfully sent
- WebSocketDisconnected - triggered when the client has disconnected
- Start - starts WebSocket server with the specified port
- Stop - closes WebSocket server
- SendData - sends specified data to the client
- SendRawData - sends raw (without WebSocket frame) data to the client
- DisconnectClient - removes connection with the client
- GetClientInfo - returns information (IP, port, ...) about the client
- Source lines of code: ~1800
- Comments: ~750
- Xunit