PasteRack.org | ||
Paste # 18577 | ||
2016-04-30 14:23:22 | ||
Fork as a new paste. | ||
Paste viewed 127 times. | ||
Tweet | ||
Embed: | ||
(send/suspend/dispatch make-response) → any make-response : (((request? . -> . any) . -> . string?) . -> . can-be-response?) Calls make-response with a function (often named embed/url) that, when called with a procedure from request? to any/c will generate a URL, that when invoked will call the function with the request? object and return the result to the caller of send/suspend/dispatch. http://docs.racket-lang.org/web-server/servlet.html?q=send%2Fsuspend%2Fdispatch#%28def._%28%28lib._web-server%2Fservlet%2Fweb..rkt%29._send%2Fsuspend%2Fdispatch%29%29