Skip to content

Commit ba3efa6

Browse files
committed
doc/modules/http.server.md: Fix typo (corourine => coroutine)
1 parent 3af5055 commit ba3efa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/http.server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## http.server
22

3-
*http.server* objects are used to encapsulate the `accept()` and dispatch of http clients. Each new client request will invoke the `onstream` callback in a new cqueues managed corourine. In addition to constructing and returning a HTTP response, an `onstream` handler may upgrade a stream from from HTTP 1.1 to a WebSocket connection.
3+
*http.server* objects are used to encapsulate the `accept()` and dispatch of http clients. Each new client request will invoke the `onstream` callback in a new cqueues managed coroutine. In addition to constructing and returning a HTTP response, an `onstream` handler may upgrade a stream from from HTTP 1.1 to a WebSocket connection.
44

55
For examples of how to use the server library, please see the [examples directory](https://github.com/daurnimator/lua-http/tree/master/examples) in the source tree.
66

0 commit comments

Comments
 (0)