Skip to content

Commit 5fd0676

Browse files
committed
fix docs
1 parent 3c08727 commit 5fd0676

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,9 @@ export class MessageController {
435435
| `@SocketQueryParam(paramName: string)` | Injects query parameter from the received socket request. |
436436
| `@SocketId()` | Injects socket id from the received request. |
437437
| `@SocketRequest()` | Injects request object received by socket. |
438-
| `@SocketRooms()` | Injects rooms of the connected socket client. | | `@NspParams()` | Injects dynamic namespace params. | | `@NspParam(paramName: string)` | Injects param from the dynamic namespace. |
438+
| `@SocketRooms()` | Injects rooms of the connected socket client. |
439+
| `@NspParams()` | Injects dynamic namespace params. |
440+
| `@NspParam(paramName: string)` | Injects param from the dynamic namespace. |
439441
| `@Middleware()` | Registers a new middleware to be registered in the socket.io. |
440442
| `@EmitOnSuccess(messageName: string)` | If this decorator is set then after controller action will emit message with the given name after action execution. It will emit message only if controller succeed without errors. If result is a Promise then it will wait until promise is resolved and emit a message. |
441443
| `@EmitOnFail(messageName: string)` | If this decorator is set then after controller action will emit message with the given name after action execution. It will emit message only if controller throw an exception. If result is a Promise then it will wait until promise throw an error and emit a message. |

0 commit comments

Comments
 (0)