From e1b045cea7f936ed2f12317b4814dd81c3632612 Mon Sep 17 00:00:00 2001 From: Kevin Tewouda Date: Thu, 28 May 2020 15:11:22 +0200 Subject: [PATCH] Fixed typos in documentation (#956) Co-authored-by: le_woudar --- docs/events.md | 2 +- docs/websockets.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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