Handbook
Glossary
new-dispatcher ( class -- dispatcher )
Vocabulary
http
.
server
.
dispatchers
Inputs
class
a
class
Outputs
dispatcher
a
dispatcher
Word description
Creates a new instance of a subclass of
dispatcher
.
Definition
USING:
accessors
http.server
http.server.responses
kernel
;
IN:
http.server.dispatchers
:
new-dispatcher
( class -- dispatcher )
new
<404>
<trivial-responder>
>>default
H{
}
clone
>>responders
;
inline