Mention :start and :end keyword of 'writer' function for streaming.

This commit is contained in:
Eitaro Fukamachi 2016-09-24 02:25:17 +09:00
parent 92848f6dde
commit 2ddd6089d4

View file

@ -106,7 +106,7 @@ To enable a delayed response, the application should return a callback as its re
(funcall responder `(200 (:content-type "text/plain") (,content))))))
```
An application may omit the third element (the body) when calling the responder. If the body is omitted, the responder will return a function which takes a body chunk and `:close` keyword argument.
An application may omit the third element (the body) when calling the responder. If the body is omitted, the responder will return a function which takes a body chunk, and optional `:start`, `:end` and `:close` keyword arguments.
```common-lisp
(lambda (env)