From 08daa240ff7e4b298e3fc876d1698f50e2f5551c Mon Sep 17 00:00:00 2001 From: Mike Torra Date: Tue, 8 Oct 2024 22:06:43 -0400 Subject: [PATCH] docs: fix some readme typos (#343) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6af7d5..dd22333 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ request.execute(app) .get('/') ``` -When passing an `app` to `request`; it will automatically open the server for +When passing an `app` to `request.execute()`, it will automatically open the server for incoming requests (by calling `listen()`) and, once a request has been made the server will automatically shut down (by calling `.close()`). If you want to keep the server open, perhaps if you're making multiple requests, you must call @@ -243,7 +243,7 @@ error parameter when signaling completion. #### Dealing with the response - Promises -If `Promise` is available, `request()` becomes a Promise capable library - +If `Promise` is available, `request` becomes a Promise capable library - and chaining of `then`s becomes possible: ```js