diff --git a/docs/events.md b/docs/events.md index ceebbfbd..4f2bce55 100644 --- a/docs/events.md +++ b/docs/events.md @@ -5,7 +5,7 @@ is shutting down. ## Registering events -These event handlers can either be `async` coroutines, or regular syncronous +These event handlers can either be `async` coroutines, or regular synchronous functions. The event handlers should be included on the application like so: diff --git a/docs/websockets.md b/docs/websockets.md index 7c05ad2a..ab6a0532 100644 --- a/docs/websockets.md +++ b/docs/websockets.md @@ -47,7 +47,7 @@ For example: `websocket.query_params['search']` Router path parameters are exposed as a dictionary interface. -For example: `request.path_params['username']` +For example: `websocket.path_params['username']` ### Accepting the connection