http.server vocabulary
Factor handbook ยป Vocabulary index


Documentation
HTTP server

Metadata
Parents:http
Tags:web, enterprise, network, servers
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
http-server threaded-server
trivial-responder tupleresponse


Generic words
WordStack effect
call-responder*( path responder -- response )
write-full-response( request response -- )
write-response( response -- )


Symbol words
benchmark?
development?
main-responder
params
request-limit
responder-nesting


Ordinary words
WordStack effect
<500>( error -- response )
<http-server>( -- server )
<trivial-responder>( response -- trivial-responder )
?benchmark( quot -- )
?refresh-all( -- )
add-responder-nesting( path responder -- )
call-responder( path responder -- response )
dispatch-request( request -- response )
do-request( request -- response )
do-response( response -- )
ensure-domain( cookie -- cookie )
handle-client-error( error -- )
http-insomniac( -- )
httpd( port -- http-server )
httpd-bad-request( message -- )
httpd-benchmark( message -- )
httpd-header( message -- )
httpd-hit( message -- )
init-request( request -- )
invert-slice( slice -- slice' )
log-header( request name -- )
log-request( request -- )
make-http-error( error -- xml )
method=( str -- ? )
param( name -- value )
post-request?( -- ? )
prepare-request( request -- )
request-params( request -- assoc )
set-param( value name -- )
split-path( string -- path )
unparse-content-type( request -- content-type )
valid-request?( request -- ? )
write-response-body( response -- response )
write-response-header( response -- response )
write-response-line( response -- response )


Class predicate words
WordStack effect
http-server?( object -- ? )
trivial-responder?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
http.server.cgi
http.server.dispatchersDispatcher responder for dispaching requests to a set of child responders
http.server.filtersFilter responders which wrap an underlying responder
http.server.redirectionRedirection responses which redirect the client to another URL
http.server.remappingSupport for port remapping
http.server.requests
http.server.responsesConstructing various simple responses
http.server.rewrite
http.server.staticServing static files