mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-05-31 00:00:10 +08:00
Fix
This commit is contained in:
@@ -42,8 +42,10 @@ typedef NSData* (^GCDWebServerStreamBlock)(NSError** error);
|
|||||||
* The block must return empty NSData when done or nil on error and set the
|
* The block must return empty NSData when done or nil on error and set the
|
||||||
* "error" argument which is guaranteed to be non-NULL.
|
* "error" argument which is guaranteed to be non-NULL.
|
||||||
*
|
*
|
||||||
* The block must eventually call "completionBlock" passing the streamed data
|
* The block must regularly call "completionBlock" passing new streamed data.
|
||||||
* if any and the error if applicable.
|
* Eventually it must call "completionBlock" passing an empty NSData indicating
|
||||||
|
* the end of the stream has been reached, or pass nil and an NSError in case of
|
||||||
|
* error.
|
||||||
*/
|
*/
|
||||||
typedef void (^GCDWebServerAsyncStreamBlock)(GCDWebServerBodyReaderCompletionBlock completionBlock);
|
typedef void (^GCDWebServerAsyncStreamBlock)(GCDWebServerBodyReaderCompletionBlock completionBlock);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user