From 4c69afe1c31c1926ac8c38e55e4c9764d991cb75 Mon Sep 17 00:00:00 2001 From: Zoron Date: Wed, 14 Aug 2019 10:37:55 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 98405f4..d33e859 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ fastify.listen(3000, err => { ### Per route handler -After registring this plugin, you can choose on which routes the WS server will respond. This could be achieved adding `websocket: true` property to `routeOptions` on a fastify's `.get` route. In this case two arguments will be passed to the handler: socket connection and the original `http.IncomingMessage` (instead of the usual fastify's request and reply objects). +After registering this plugin, you can choose on which routes the WS server will respond. This could be achieved by adding `websocket: true` property to `routeOptions` on a fastify's `.get` route. In this case two arguments will be passed to the handler: socket connection and the original `http.IncomingMessage` (instead of the usual fastify's request and reply objects). ```js 'use strict'