File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
web-server-doc/web-server/scribblings Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,14 @@ functions of interest for the servlet developer.
3030
3131@defproc[(send/suspend [make-response (string? . -> . can-be-response?)])
3232 request?]{
33- Captures the current continuation, stores it with @racket[exp] as the expiration
34- handler, and binds it to a URL. @racket[make-response] is called with this URL and
35- is expected to generate a @racket[can-be-response?], which is sent to the client. If the
36- continuation URL is invoked, the captured continuation is invoked and the request is
37- returned from this call to @racket[send/suspend].
33+
34+ Captures the current continuation, stores it with
35+ @racket[(current-servlet-continuation-expiration-handler)] as the
36+ expiration handler, and binds it to a URL. @racket[make-response] is
37+ called with this URL and is expected to generate a
38+ @racket[can-be-response?], which is sent to the client. If the
39+ continuation URL is invoked, the captured continuation is invoked and
40+ the request is returned from this call to @racket[send/suspend].
3841
3942 Example:
4043 @racketblock[
You can’t perform that action at this time.
0 commit comments