Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	docs/contrib/socketio/README.md
  • Loading branch information
ReneWerner87 committed Apr 19, 2024
2 parents 36e9e13 + d7f47f7 commit 875d3b9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/contrib/socketio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 875d3b9

Please sign in to comment.