mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-05-31 00:00:10 +08:00
Fix a typo in Readme
`asynchronously` → `asynchronously`
This commit is contained in:
@@ -287,7 +287,7 @@ Note that most methods on ```GCDWebServer``` to add handlers only require the ``
|
|||||||
Asynchronous HTTP Responses
|
Asynchronous HTTP Responses
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
New in GCDWebServer 3.0 is the ability to process HTTP requests aysnchronously i.e. add handlers to the server which generate their ```GCDWebServerResponse``` asynchronously. This is achieved by adding handlers that use a ```GCDWebServerAsyncProcessBlock``` instead of a ```GCDWebServerProcessBlock```. Here's an example:
|
New in GCDWebServer 3.0 is the ability to process HTTP requests asynchronously i.e. add handlers to the server which generate their ```GCDWebServerResponse``` asynchronously. This is achieved by adding handlers that use a ```GCDWebServerAsyncProcessBlock``` instead of a ```GCDWebServerProcessBlock```. Here's an example:
|
||||||
|
|
||||||
**(Synchronous version)** The handler blocks while generating the HTTP response:
|
**(Synchronous version)** The handler blocks while generating the HTTP response:
|
||||||
```objectivec
|
```objectivec
|
||||||
|
|||||||
Reference in New Issue
Block a user