Skip to content

Commit 250e256

Browse files
committed
Fix typo from Victor Pessers, closes PR15383
1 parent 151538d commit 250e256

File tree

1 file changed

+8
-5
lines changed
  • web-server-doc/web-server/scribblings

1 file changed

+8
-5
lines changed

web-server-doc/web-server/scribblings/web.scrbl

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff 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[

0 commit comments

Comments
 (0)