Skip to content

Commit

Permalink
docs: fix Java/.NET types for docs rolling (#32924)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Oct 2, 2024
1 parent 67c37cf commit 6373fe7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/api/class-websocketroute.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,17 @@ By default, closing one side of the connection, either in the page or on the ser

### param: WebSocketRoute.onClose.handler
* since: v1.48
* langs: js, python
- `handler` <[function]\([number]|[undefined], [string]|[undefined]\): [Promise<any>|any]>

Function that will handle WebSocket closure. Received an optional [close code](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close#code) and an optional [close reason](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close#reason).

### param: WebSocketRoute.onClose.handler
* since: v1.48
* langs: java, csharp
- `handler` <[function]\([null]|[number], [null]|[string]\)>

Function that will handle WebSocket closure. Received an optional [close code](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close#code) and an optional [close reason](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close#reason).


## async method: WebSocketRoute.onMessage
Expand Down

0 comments on commit 6373fe7

Please sign in to comment.