Menu
Reference
- Manticore\Ds
- Async
- Http
- Http\WebSocket
- Interfaces
- Handler
- Classes
- Connection
- ConnectionClosedException
- HandshakeException
- Hub
- Message
- Options
- Functions
- connect()
- handler()
- run()
- upgrade()
- Buffer
- Process
- Io\Poll
- Manticore\Sapi
- Ffi
Http\WebSocket
Interfaces
Handler | Event callbacks for a connection, as an alternative to a foreach loop. |
Classes
Connection | One open WebSocket, server or client side. |
ConnectionClosedException | Thrown by Connection::send(), sendBinary() and ping() when the connection is already closed or closing, or when the write fails. |
HandshakeException | Thrown by connect() when the WebSocket opening handshake does not complete. |
Hub | A set of connections that a message can be sent to at once. |
Message | One received message. |
Options | Settings for a WebSocket connection, server or client side. |