diff --git a/docs/contrib/socketio/README.md b/docs/contrib/socketio/README.md index e8c6360166c..976495c19d9 100644 --- a/docs/contrib/socketio/README.md +++ b/docs/contrib/socketio/README.md @@ -192,15 +192,15 @@ func main() { ## Supported events -| Const | Event | Description | -|:----------------|:-------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------| -| EventMessage | `message` | Fired when a Text/Binary message is received | +| Const | Event | Description | +|:----------------|:-------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------| +| EventMessage | `message` | Fired when a Text/Binary message is received | | EventPing | `ping` | [More details here](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#Pings_and_Pongs_The_Heartbeat_of_WebSockets) | -| EventPong | `pong` | Refer to ping description | -| EventDisconnect | `disconnect` | Fired on disconnection. The error provided in disconnection event as defined in RFC 6455, section 11.7. | -| EventConnect | `connect` | Fired on first connection | -| EventClose | `close` | Fired when the connection is actively closed from the server. Different from client disconnection | -| EventError | `error` | Fired when some error appears useful also for debugging websockets | +| EventPong | `pong` | Refer to ping description | +| EventDisconnect | `disconnect` | Fired on disconnection. The error provided in disconnection event as defined in RFC 6455, section 11.7. | +| EventConnect | `connect` | Fired on first connection | +| EventClose | `close` | Fired when the connection is actively closed from the server. Different from client disconnection | +| EventError | `error` | Fired when some error appears useful also for debugging websockets | ## Event Payload object