File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ request.execute(app)
64
64
.get (' /' )
65
65
```
66
66
67
- When passing an ` app ` to ` request ` ; it will automatically open the server for
67
+ When passing an ` app ` to ` request.execute() ` , it will automatically open the server for
68
68
incoming requests (by calling ` listen() ` ) and, once a request has been made
69
69
the server will automatically shut down (by calling ` .close() ` ). If you want to
70
70
keep the server open, perhaps if you're making multiple requests, you must call
@@ -243,7 +243,7 @@ error parameter when signaling completion.
243
243
244
244
#### Dealing with the response - Promises
245
245
246
- If ` Promise ` is available, ` request() ` becomes a Promise capable library -
246
+ If ` Promise ` is available, ` request ` becomes a Promise capable library -
247
247
and chaining of ` then ` s becomes possible:
248
248
249
249
``` js
You can’t perform that action at this time.
0 commit comments