The toot Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The toot Reference Manual

This is the toot Reference Manual, version 0.0.1, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 04:39:35 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Toot is a stripped down and, hopefully, simplified version of Edi
Weitz's Hunchentoot. It does not aim to be backwards compatible with
anything and large swaths of Hunchentoot functionality have been cut
out. Some of them may be put back someday. Use at your own risk. If it
breaks you get to keep both pieces, etc. etc.

Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 toot

Description

A minimal web server originally built by stripping down Edi Weitz’s Hunchentoot

Version

0.0.1

Dependencies
Source

toot.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 toot.asd

Location

toot.asd

Systems

toot (system)

Packages

toot-asd

Internal Definitions

*toot-version* (special variable)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 toot/packages.lisp

Parent

toot (system)

Location

packages.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 toot/rfc2388.lisp

Dependency

packages.lisp (file)

Parent

toot (system)

Location

rfc2388.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 toot/specials.lisp

Dependency

rfc2388.lisp (file)

Parent

toot (system)

Location

specials.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 toot/conditions.lisp

Dependency

specials.lisp (file)

Parent

toot (system)

Location

conditions.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.6 toot/mime-types.lisp

Dependency

conditions.lisp (file)

Parent

toot (system)

Location

mime-types.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.7 toot/util.lisp

Dependency

mime-types.lisp (file)

Parent

toot (system)

Location

util.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.8 toot/cookie.lisp

Dependency

util.lisp (file)

Parent

toot (system)

Location

cookie.lisp

Exported Definitions

name (method)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.9 toot/set-timeouts.lisp

Dependency

cookie.lisp (file)

Parent

toot (system)

Location

set-timeouts.lisp

Internal Definitions

set-timeouts (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.10 toot/taskmaster.lisp

Dependency

set-timeouts.lisp (file)

Parent

toot (system)

Location

taskmaster.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.11 toot/log.lisp

Dependency

taskmaster.lisp (file)

Parent

toot (system)

Location

log.lisp

Exported Definitions

stream-logger (class)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.12 toot/http.lisp

Dependency

log.lisp (file)

Parent

toot (system)

Location

http.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.13 toot/api.lisp

Dependency

http.lisp (file)

Parent

toot (system)

Location

api.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.14 toot/tests.lisp

Dependency

api.lisp (file)

Parent

toot (system)

Location

tests.lisp

Exported Definitions

handle-request (method)

Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.15 toot/documentation.lisp

Dependency

tests.lisp (file)

Parent

toot (system)

Location

documentation.lisp


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 toot-asd

Source

toot.asd

Use List
Internal Definitions

*toot-version* (special variable)


Next: , Previous: , Up: Packages   [Contents][Index]

4.2 toot-tests

Sanity tests for Toot.

Source

packages.lisp (file)

Use List
Internal Definitions

Previous: , Up: Packages   [Contents][Index]

4.3 toot

A very simple web server.

Source

packages.lisp (file)

Use List
Used By List

toot-tests

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Constants

Constant: +http-accepted+

HTTP return code (202) for ’Accepted’.

Package

toot

Source

specials.lisp (file)

Constant: +http-authorization-required+

HTTP return code (401) for ’Authorization Required’.

Package

toot

Source

specials.lisp (file)

Constant: +http-bad-gateway+

HTTP return code (502) for ’Bad Gateway’.

Package

toot

Source

specials.lisp (file)

Constant: +http-bad-request+

HTTP return code (400) for ’Bad Request’.

Package

toot

Source

specials.lisp (file)

Constant: +http-conflict+

HTTP return code (409) for ’Conflict’.

Package

toot

Source

specials.lisp (file)

Constant: +http-continue+

HTTP return code (100) for ’Continue’.

Package

toot

Source

specials.lisp (file)

Constant: +http-created+

HTTP return code (201) for ’Created’.

Package

toot

Source

specials.lisp (file)

Constant: +http-expectation-failed+

HTTP return code (417) for ’Expectation Failed’.

Package

toot

Source

specials.lisp (file)

Constant: +http-failed-dependency+

HTTP return code (424) for ’Failed Dependency’.

Package

toot

Source

specials.lisp (file)

Constant: +http-forbidden+

HTTP return code (403) for ’Forbidden’.

Package

toot

Source

specials.lisp (file)

Constant: +http-gateway-time-out+

HTTP return code (504) for ’Gateway Time-out’.

Package

toot

Source

specials.lisp (file)

Constant: +http-gone+

HTTP return code (410) for ’Gone’.

Package

toot

Source

specials.lisp (file)

Constant: +http-internal-server-error+

HTTP return code (500) for ’Internal Server Error’.

Package

toot

Source

specials.lisp (file)

Constant: +http-length-required+

HTTP return code (411) for ’Length Required’.

Package

toot

Source

specials.lisp (file)

Constant: +http-method-not-allowed+

HTTP return code (405) for ’Method Not Allowed’.

Package

toot

Source

specials.lisp (file)

Constant: +http-moved-permanently+

HTTP return code (301) for ’Moved Permanently’.

Package

toot

Source

specials.lisp (file)

Constant: +http-moved-temporarily+

HTTP return code (302) for ’Moved Temporarily’.

Package

toot

Source

specials.lisp (file)

Constant: +http-multi-status+

HTTP return code (207) for ’Multi-Status’.

Package

toot

Source

specials.lisp (file)

Constant: +http-multiple-choices+

HTTP return code (300) for ’Multiple Choices’.

Package

toot

Source

specials.lisp (file)

Constant: +http-no-content+

HTTP return code (204) for ’No Content’.

Package

toot

Source

specials.lisp (file)

Constant: +http-non-authoritative-information+

HTTP return code (203) for ’Non-Authoritative Information’.

Package

toot

Source

specials.lisp (file)

Constant: +http-not-acceptable+

HTTP return code (406) for ’Not Acceptable’.

Package

toot

Source

specials.lisp (file)

Constant: +http-not-found+

HTTP return code (404) for ’Not Found’.

Package

toot

Source

specials.lisp (file)

Constant: +http-not-implemented+

HTTP return code (501) for ’Not Implemented’.

Package

toot

Source

specials.lisp (file)

Constant: +http-not-modified+

HTTP return code (304) for ’Not Modified’.

Package

toot

Source

specials.lisp (file)

Constant: +http-ok+

HTTP return code (200) for ’OK’.

Package

toot

Source

specials.lisp (file)

Constant: +http-partial-content+

HTTP return code (206) for ’Partial Content’.

Package

toot

Source

specials.lisp (file)

Constant: +http-payment-required+

HTTP return code (402) for ’Payment Required’.

Package

toot

Source

specials.lisp (file)

Constant: +http-precondition-failed+

HTTP return code (412) for ’Precondition Failed’.

Package

toot

Source

specials.lisp (file)

Constant: +http-proxy-authentication-required+

HTTP return code (407) for ’Proxy Authentication Required’.

Package

toot

Source

specials.lisp (file)

Constant: +http-request-entity-too-large+

HTTP return code (413) for ’Request Entity Too Large’.

Package

toot

Source

specials.lisp (file)

Constant: +http-request-time-out+

HTTP return code (408) for ’Request Time-out’.

Package

toot

Source

specials.lisp (file)

Constant: +http-request-uri-too-large+

HTTP return code (414) for ’Request-URI Too Large’.

Package

toot

Source

specials.lisp (file)

Constant: +http-requested-range-not-satisfiable+

HTTP return code (416) for ’Requested range not satisfiable’.

Package

toot

Source

specials.lisp (file)

Constant: +http-reset-content+

HTTP return code (205) for ’Reset Content’.

Package

toot

Source

specials.lisp (file)

Constant: +http-see-other+

HTTP return code (303) for ’See Other’.

Package

toot

Source

specials.lisp (file)

Constant: +http-service-unavailable+

HTTP return code (503) for ’Service Unavailable’.

Package

toot

Source

specials.lisp (file)

Constant: +http-switching-protocols+

HTTP return code (101) for ’Switching Protocols’.

Package

toot

Source

specials.lisp (file)

Constant: +http-temporary-redirect+

HTTP return code (307) for ’Temporary Redirect’.

Package

toot

Source

specials.lisp (file)

Constant: +http-unsupported-media-type+

HTTP return code (415) for ’Unsupported Media Type’.

Package

toot

Source

specials.lisp (file)

Constant: +http-use-proxy+

HTTP return code (305) for ’Use Proxy’.

Package

toot

Source

specials.lisp (file)

Constant: +http-version-not-supported+

HTTP return code (505) for ’Version not supported’.

Package

toot

Source

specials.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Special variables

Special Variable: *debug-errors-p*

When true, Toot drops into the debugger on unhandled errors. Otherwise unhandled errors signaled while processing requests are logged and a 500 error returned to the client.

Package

toot

Source

specials.lisp (file)

Special Variable: *default-connection-timeout*

The default connection timeout used when an acceptor is reading from and writing to a socket stream.

Package

toot

Source

specials.lisp (file)

Special Variable: *default-content-type*

The default content-type header which is returned to the client. If this is text content type, the character set used for encoding the response will automatically be added to the content type in a “charset” attribute.

Package

toot

Source

specials.lisp (file)

Special Variable: *default-external-format*

The external format used to compute the REQUEST object.

Package

toot

Source

specials.lisp (file)

Special Variable: *header-stream*

If this variable is not NIL, it should be bound to a stream to which incoming and outgoing headers will be written for debugging purposes.

Package

toot

Source

specials.lisp (file)

Special Variable: *lisp-errors-log-level*

Log level for Lisp errors. Should be one of :ERROR (the default), :WARNING, or :INFO.

Package

toot

Source

specials.lisp (file)

Special Variable: *lisp-warnings-log-level*

Log level for Lisp warnings. Should be one of :ERROR, :WARNING (the default), or :INFO.

Package

toot

Source

specials.lisp (file)

Special Variable: *log-lisp-backtraces-p*

Whether Lisp backtraces should be logged. Only has an effect if *LOG-LISP-ERRORS-P* is true as well.

Package

toot

Source

specials.lisp (file)

Special Variable: *log-lisp-errors-p*

Whether Lisp errors in request handlers should be logged.

Package

toot

Source

specials.lisp (file)

Special Variable: *log-lisp-warnings-p*

Whether Lisp warnings in request handlers should be logged.

Package

toot

Source

specials.lisp (file)

Special Variable: *show-lisp-backtraces-p*

Whether Lisp errors shown in HTML output should contain backtrace information.

Package

toot

Source

specials.lisp (file)

Special Variable: *show-lisp-errors-p*

Whether Lisp errors in request handlers should be shown in HTML output.

Package

toot

Source

specials.lisp (file)

Special Variable: *tmp-directory*

Directory for temporary files created by MAKE-TMP-FILE-NAME.

Package

toot

Source

specials.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Macros

Macro: with-response-body (STREAM REQUEST &rest HEADERS &key &allow-other-keys) &body BODY

Send the response headers (any already set plus any more set via keyword arguments to this macro) and bind the stream to which the response body can be written to STREAM.

Package

toot

Source

api.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Functions

Function: abort-request-handler RESPONSE-STATUS-CODE &optional BODY

Abort the handling of a request, sending instead a response with the given response-status-code and either the given body or a default body based on the error code. A request can only be aborted if SEND-HEADERS has not been called. (SEND-HEADERS is called by WITH-RESPONSE-BODY). If a handler neither generates a response nor aborts, then a 404: Not Found response will be sent.

Package

toot

Source

api.lisp (file)

Function: add-index FILENAME &key NAME EXTENSION

Add an index file name to a directory filename. Defaults to index.html

Package

toot

Source

api.lisp (file)

Function: authorization REQUEST

Returns as two values the user and password (if any) as encoded in the ’AUTHORIZATION’ header. Returns NIL if there is no such header.

Package

toot

Source

api.lisp (file)

Function: cookie-value NAME REQUEST

Get the value of the cookie with the given name sent by the client or NIL if no such cookie was sent.

Package

toot

Source

api.lisp (file)

Function: escape-for-html STRING

Escapes the characters #\<, #\>, #\’, #\", and #\& for HTML output.

Package

toot

Source

util.lisp (file)

Function: get-parameter NAME REQUEST

Returns the GET parameter with name NAME (a string) - or NIL if there is none. Search is case-sensitive.

Package

toot

Source

api.lisp (file)

Function: handle-if-modified-since TIME REQUEST

Handles the If-Modified-Since header of REQUEST, sending an ’304: Not modified’ response if the time represented by the UTC TIME is the same as the value in the If-Modified-Since header. Also sets the Last Modified header in the response to TIME.

Package

toot

Source

api.lisp (file)

Function: handle-range REQUEST BYTES-AVAILABLE

If the request contains a Range header returns the starting position and the number of bytes to transfer. Otherwise returns 0 and bytes-available. An invalid specified range is reported to the client immediately with a ’416: Requested range not satisfiable’ response.

Package

toot

Source

api.lisp (file)

Function: no-cache REQUEST

Adds appropriate response headers to completely prevent caching on most browsers.

Package

toot

Source

api.lisp (file)

Function: parameter NAME REQUEST

Returns the GET or the POST parameter with name NAME (a string) - or NIL if there is none. If both a GET and a POST parameter with the same name exist the GET parameter is returned. Search is case-sensitive.

Package

toot

Source

api.lisp (file)

Function: post-parameter NAME REQUEST

Returns the POST parameter with name NAME (a string) - or NIL if there is none. Search is case-sensitive.

Package

toot

Source

api.lisp (file)

Function: real-remote-addr REQUEST

Returns the ’X-Forwarded-For’ incoming http header as the second value in the form of a list of IP addresses and the first element of this list as the first value if this header exists. Otherwise returns the value of REMOTE-ADDR as the only value.

Package

toot

Source

api.lisp (file)

Function: reason-phrase STATUS-CODE

Returns a reason phrase for the HTTP return code STATUS-CODE (which should be an integer) or NIL for return codes Toot doesn’t know.

Package

toot

Source

http.lisp (file)

Function: redirect REQUEST TARGET &key CODE PROTOCOL HOST PORT

Redirects the browser to TARGET with status code CODE. Target must be a string and CODE should be one of the 3xx status codes. If TARGET is a full URL starting with a scheme, HOST, PORT and PROTOCOL are ignored. Otherwise, TARGET should denote the path part of a URL and the protocol, host, and port can be specified via keyword args. Any values not specified will be taken from the current request. (Note, however, that if no port was specified in the Host: header of the request, the redirect will likewise have no explicit port; if the protocol was changed this will result in a redirect to the default port for the new protocol. CODE must be a 3xx redirection code and will be sent as status code.

Package

toot

Source

api.lisp (file)

Function: request-authority REQUEST

Get the authority part of the request’s URI.

Package

toot

Source

api.lisp (file)

Function: request-header NAME REQUEST

Returns the incoming header with name NAME. NAME can be a keyword (recommended) or a string.

Package

toot

Source

api.lisp (file)

Function: request-host REQUEST

Get the host part of the request’s URI.

Package

toot

Source

api.lisp (file)

Function: request-path REQUEST

Get the path part of the request’s URI.

Package

toot

Source

api.lisp (file)

Function: request-port REQUEST

Get the port part of the request’s URI.

Package

toot

Source

api.lisp (file)

Function: request-query REQUEST

Get the query part of the request’s URI.

Package

toot

Source

api.lisp (file)

Function: request-scheme REQUEST

Get the scheme part of the request’s URI.

Package

toot

Source

api.lisp (file)

Function: require-authorization REQUEST &optional REALM

Sends 401: Authorization required reply to require basic HTTP authentication (see RFC 2617) for the realm REALM.

Package

toot

Source

api.lisp (file)

Function: response-header NAME REQUEST

Returns the current value of the outgoing http header named NAME. NAME should be a keyword or a string.

Package

toot

Source

api.lisp (file)

Writer

(setf response-header) (function)

Function: (setf response-header) NEW-VALUE NAME REQUEST

Changes the current value of the outgoing http header named NAME (a keyword or a string). If a header with this name doesn’t exist, it is created.

Package

toot

Source

api.lisp (file)

Reader

response-header (function)

Function: response-sent-p REQUEST

Has a response been sent.

Package

toot

Source

api.lisp (file)

Function: safe-pathname-p PATH

Verify that a path, translated to a file doesn’t contain any tricky bits such as ’..’

Package

toot

Source

api.lisp (file)

Function: send-headers REQUEST &key CONTENT-TYPE CHARSET STATUS-CODE

Send the headers and return a stream to which the body of the reply can be written. If the content-type is text/* type, the stream returned will be a character stream that will encode the response properly for the charset specified. If the request was a HEAD request we dynamically abort rather than returning a stream.

Package

toot

Source

api.lisp (file)

Function: serve-file REQUEST PATHNAME &optional CONTENT-TYPE CHARSET

Serve the file denoted by PATHNAME. Sends a content type header corresponding to CONTENT-TYPE or (if that is NIL) tries to determine the content type via the file’s suffix. Aborts the request with 404: Not found if the file does not exist. Also handles if-modified-since and range requests appropriately.

Package

toot

Source

api.lisp (file)

Function: set-cookie NAME REQUEST &key VALUE EXPIRES PATH DOMAIN SECURE HTTP-ONLY

Set a cookie to be sent with the reply.

Package

toot

Source

api.lisp (file)

Function: start-acceptor ACCEPTOR

Start an existing acceptor listening for connections.

Package

toot

Source

api.lisp (file)

Function: start-server &rest ARGS &key HANDLER PORT &allow-other-keys

Instantiate an acceptor and start it listening.

Package

toot

Source

api.lisp (file)

Function: stop-acceptor ACCEPTOR &key SOFT

Stop an acceptor from listening for connections. It can be restarted with START-ACCEPTOR.

Package

toot

Source

api.lisp (file)

Function: url-decode STRING &optional EXTERNAL-FORMAT

Decodes a URL-encoded STRING which is assumed to be encoded using the external format EXTERNAL-FORMAT.

Package

toot

Source

util.lisp (file)

Function: url-encode STRING &optional EXTERNAL-FORMAT

URL-encodes a string using the external format EXTERNAL-FORMAT.

Package

toot

Source

util.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.5 Generic functions

Generic Function: acceptor OBJECT

acceptor that accepted this request.

Package

toot

Methods
Method: acceptor (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: access-logger OBJECT

logger object that can log HTTP accesses.

Package

toot

Writer

(setf access-logger) (generic function)

Methods
Method: access-logger (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: (setf access-logger) NEW-VALUE OBJECT
Package

toot

Reader

access-logger (generic function)

Methods
Method: (setf access-logger) NEW-VALUE (ACCEPTOR acceptor)

automatically generated writer method

Source

http.lisp (file)

Generic Function: address OBJECT

IP address to which the acceptor binds.

Package

toot

Methods
Method: address (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: body-octets OBJECT

body of the request as octets.

Package

toot

Methods
Method: body-octets (REQUEST request) before
Source

http.lisp (file)

Method: body-octets (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: body-stream OBJECT

body of the request as a stream.

Package

toot

Methods
Method: body-stream (REQUEST request) before
Source

http.lisp (file)

Method: body-stream (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: content-length OBJECT

length of the response about to be written.

Package

toot

Writer

(setf content-length) (generic function)

Methods
Method: content-length (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: (setf content-length) NEW-VALUE OBJECT
Package

toot

Reader

content-length (generic function)

Methods
Method: (setf content-length) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

http.lisp (file)

Generic Function: content-type OBJECT

the MIME type of the response about to be written.

Package

toot

Writer

(setf content-type) (generic function)

Methods
Method: content-type (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: (setf content-type) NEW-VALUE OBJECT
Package

toot

Reader

content-type (generic function)

Methods
Method: (setf content-type) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

http.lisp (file)

Generic Function: cookies-in OBJECT

cookies sent by the client as an alist.

Package

toot

Methods
Method: cookies-in (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: error-generator OBJECT

object responsible for generating error pages.

Package

toot

Writer

(setf error-generator) (generic function)

Methods
Method: error-generator (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: (setf error-generator) NEW-VALUE OBJECT
Package

toot

Reader

error-generator (generic function)

Methods
Method: (setf error-generator) NEW-VALUE (ACCEPTOR acceptor)

automatically generated writer method

Source

http.lisp (file)

Generic Function: generate-error-page GENERATOR REQUEST &key ERROR BACKTRACE

Used by acceptor to generate an error page for a request based on the http status code.

Package

toot

Source

http.lisp (file)

Methods
Method: generate-error-page (GENERATOR symbol) REQUEST &key ERROR BACKTRACE
Method: generate-error-page (GENERATOR function) REQUEST &key ERROR BACKTRACE
Generic Function: get-parameters OBJECT

parameters sent in the query string.

Package

toot

Methods
Method: get-parameters (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: handle-request HANDLER REQUEST

Used by the acceptor to handle a request. Returns
true if the handler actually sends a response. (This is arranged by a default :around method. If for some reason a more-specific :around method is defined, it must return the same value.

Package

toot

Source

http.lisp (file)

Methods
Method: handle-request (HANDLER search-handler) REQUEST
Source

tests.lisp (file)

Method: handle-request (HANDLER static-file-handler) REQUEST
Source

api.lisp (file)

Method: handle-request (HANDLER symbol) REQUEST
Method: handle-request (HANDLER function) REQUEST
Method: handle-request HANDLER REQUEST around
Generic Function: handler OBJECT

object responsible for generating a response to each request.

Package

toot

Writer

(setf handler) (generic function)

Methods
Method: handler (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: (setf handler) NEW-VALUE OBJECT
Package

toot

Reader

handler (generic function)

Methods
Method: (setf handler) NEW-VALUE (ACCEPTOR acceptor)

automatically generated writer method

Source

http.lisp (file)

Generic Function: message-logger OBJECT

object that logs miscelaneous messages to the Toot message log.

Package

toot

Writer

(setf message-logger) (generic function)

Methods
Method: message-logger (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: (setf message-logger) NEW-VALUE OBJECT
Package

toot

Reader

message-logger (generic function)

Methods
Method: (setf message-logger) NEW-VALUE (ACCEPTOR acceptor)

automatically generated writer method

Source

http.lisp (file)

Generic Function: name OBJECT

name of the server, used in to set the Server response header.

Package

toot

Methods
Method: name (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Method: name (COOKIE cookie)

automatically generated reader method

Source

cookie.lisp (file)

Generic Function: persistent-connections-p OBJECT

flag controlling whether acceptor will allow persistent connections.

Package

toot

Writer

(setf persistent-connections-p) (generic function)

Methods
Method: persistent-connections-p (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: (setf persistent-connections-p) NEW-VALUE OBJECT
Package

toot

Reader

persistent-connections-p (generic function)

Methods
Method: (setf persistent-connections-p) NEW-VALUE (ACCEPTOR acceptor)

automatically generated writer method

Source

http.lisp (file)

Generic Function: port OBJECT

port the acceptor will listen on.

Package

toot

Methods
Method: port (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: post-parameters OBJECT
Package

toot

Methods
Method: post-parameters (REQUEST request) before

Lazily fill in the post-parameters slot with data from the request body.

Source

http.lisp (file)

Method: post-parameters (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: read-timeout OBJECT

timeout for reading from the client.

Package

toot

Methods
Method: read-timeout (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: remote-addr OBJECT

IP address of the client side of the socket making the request.

Package

toot

Methods
Method: remote-addr (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: remote-port OBJECT

port of the client side of the socket making the request.

Package

toot

Methods
Method: remote-port (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: request-headers OBJECT

complete set of headers sent in the request as an alist.

Package

toot

Methods
Method: request-headers (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: request-method OBJECT

HTTP method (e.g. GET, POST, HEAD) of the request.

Package

toot

Methods
Method: request-method (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: request-uri OBJECT

URI of the request as a puri:uri object.

Package

toot

Methods
Method: request-uri (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: server-protocol OBJECT

server protocol of the request as a keyword.

Package

toot

Methods
Method: server-protocol (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: status-code OBJECT

HTTP status code of the response being generated.

Package

toot

Writer

(setf status-code) (generic function)

Methods
Method: status-code (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Generic Function: (setf status-code) NEW-VALUE OBJECT
Package

toot

Reader

status-code (generic function)

Methods
Method: (setf status-code) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

http.lisp (file)

Generic Function: taskmaster OBJECT

object responsible for running the acceptor.

Package

toot

Methods
Method: taskmaster (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: write-timeout OBJECT

timeout for writing to the client.

Package

toot

Methods
Method: write-timeout (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.6 Classes

Class: acceptor ()

The object that listens on a socket for connections.

Package

toot

Source

http.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: port
Initargs

:port

Readers

port (generic function)

Slot: address
Initargs

:address

Readers

address (generic function)

Slot: name
Initargs

:name

Readers

name (generic function)

Slot: persistent-connections-p
Initargs

:persistent-connections-p

Readers

persistent-connections-p (generic function)

Writers

(setf persistent-connections-p) (generic function)

Slot: read-timeout
Initargs

:read-timeout

Readers

read-timeout (generic function)

Slot: write-timeout
Initargs

:write-timeout

Readers

write-timeout (generic function)

Slot: listen-backlog
Initargs

:listen-backlog

Readers

listen-backlog (generic function)

Slot: ssl-certificate-file
Initargs

:ssl-certificate-file

Readers

ssl-certificate-file (generic function)

Slot: ssl-private-key-file
Initargs

:ssl-private-key-file

Readers

ssl-private-key-file (generic function)

Slot: ssl-private-key-password
Initargs

:ssl-private-key-password

Readers

ssl-private-key-password (generic function)

Slot: handler
Initargs

:handler

Readers

handler (generic function)

Writers

(setf handler) (generic function)

Slot: error-generator
Initargs

:error-generator

Readers

error-generator (generic function)

Writers

(setf error-generator) (generic function)

Slot: taskmaster
Initargs

:taskmaster

Readers

taskmaster (generic function)

Slot: access-loggger
Initargs

:access-logger

Initform

(make-instance (quote toot:stream-logger) :destination *error-output*)

Readers

access-logger (generic function)

Writers

(setf access-logger) (generic function)

Slot: message-logger
Initargs

:message-logger

Initform

(make-instance (quote toot:stream-logger) :destination *error-output*)

Readers

message-logger (generic function)

Writers

(setf message-logger) (generic function)

Slot: listen-socket
Readers

listen-socket (generic function)

Writers

(setf listen-socket) (generic function)

Slot: shutdown-p
Initform

t

Readers

shutdown-p (generic function)

Writers

(setf shutdown-p) (generic function)

Slot: requests-in-progress
Initform

0

Readers

requests-in-progress (generic function)

Writers

(setf requests-in-progress) (generic function)

Slot: shutdown-queue
Initform

(bordeaux-threads:make-condition-variable)

Readers

shutdown-queue (generic function)

Writers

(setf shutdown-queue) (generic function)

Slot: shutdown-lock
Initform

(bordeaux-threads:make-lock "toot-shutdown")

Readers

shutdown-lock (generic function)

Writers

(setf shutdown-lock) (generic function)

Direct Default Initargs
InitargValue
:addressnil
:portnil
:name(format nil "toot ~a" toot-asd::*toot-version*)
:listen-backlog50
:taskmaster(make-instance (if bordeaux-threads:*supports-threads-p* (quote toot::thread-per-connection-taskmaster) (quote toot::single-threaded-taskmaster)))
:persistent-connections-pt
:read-timeouttoot:*default-connection-timeout*
:write-timeouttoot:*default-connection-timeout*
:error-generator(quote toot::default-error-message-generator)
Class: static-file-handler ()

A handler that serves files found under a given
root directory. Checks the path before serving the file with specified path-checker which should be a function that takes the path and returns true if it is safe. If the path checker returns false, the request is aborted with 403: Forbidden.

Package

toot

Source

api.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: root
Initargs

:root

Readers

root (generic function)

Writers

(setf root) (generic function)

Slot: path-checker
Initargs

:path-checker

Initform

(function toot:safe-pathname-p)

Readers

path-checker (generic function)

Writers

(setf path-checker) (generic function)

Class: stream-logger ()

A logger that writes to a given stream.

Package

toot

Source

log.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: destination
Initargs

:destination

Readers

destination (generic function)

Slot: lock
Initform

(bordeaux-threads:make-lock "log-lock")

Readers

lock (generic function)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Constants

Constant: +buffer-length+

Length of buffers used for internal purposes.

Package

toot

Source

specials.lisp (file)

Constant: +crlf+

A 2-element array consisting of the character codes for a CRLF sequence.

Package

toot

Source

specials.lisp (file)

Constant: +day-names+

The three-character names of the seven days of the week - needed for cookie date format.

Package

toot

Source

specials.lisp (file)

Constant: +implementation-link+

A link to the website of the underlying Lisp implementation.

Package

toot

Source

specials.lisp (file)

Constant: +latin-1+

A FLEXI-STREAMS external format used for ‘faithful’ input and output of binary data.

Package

toot

Source

specials.lisp (file)

Constant: +month-names+

The three-character names of the twelve months - needed for cookie date format.

Package

toot

Source

specials.lisp (file)

Constant: +new-connection-wait-time+

Time in seconds to wait for a new connection to arrive before performing a cleanup run.

Package

toot

Source

specials.lisp (file)

Constant: +toot-project-url+
Package

toot

Source

specials.lisp (file)

Constant: +utf-8+

A FLEXI-STREAMS external format used internally for logging and to encode cookie values.

Package

toot

Source

specials.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Special variables

Special Variable: *default-charset*

The default charset for text/* content-types.

Package

toot

Source

specials.lisp (file)

Special Variable: *default-logger*
Package

toot

Source

log.lisp (file)

Special Variable: *default-max-accept-count*
Package

toot

Source

taskmaster.lisp (file)

Special Variable: *default-max-thread-count*
Package

toot

Source

taskmaster.lisp (file)

Special Variable: *error-css*
Package

toot

Source

http.lisp (file)

Special Variable: *http-reason-phrase-map*

Used to map numerical return codes to reason phrases.

Package

toot

Source

specials.lisp (file)

Special Variable: *hyperdoc-base-uri*
Package

toot

Source

specials.lisp (file)

Special Variable: *mime-type-hash*

A hash table which maps file suffixes to MIME types.

Package

toot

Source

mime-types.lisp (file)

Special Variable: *mime-type-list*

An alist where the cars are MIME types and the cdrs are lists of file suffixes for the corresponding type.

Package

toot

Source

mime-types.lisp (file)

Special Variable: *test-acceptor*
Package

toot-tests

Source

tests.lisp (file)

Special Variable: *tmp-counter*

Counter used in creating tmp filenames.

Package

toot

Source

specials.lisp (file)

Special Variable: *tmp-counter-lock*

Lock to protect access to *tmp-counter*.

Package

toot

Source

specials.lisp (file)

Special Variable: *toot-version*

A string denoting the current version of Toot. Used for diagnostic output.

Package

toot-asd

Source

toot.asd


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Macros

Macro: def-http-status-code NAME VALUE REASON-PHRASE

Shortcut to define constants for return codes. NAME is a Lisp symbol, VALUE is the numerical value of the return code, and REASON-PHRASE is the phrase (a string) to be shown in the server’s status line.

Package

toot

Source

specials.lisp (file)

Macro: defconstant NAME VALUE &optional DOC

Make sure VALUE is evaluated only once (to appease SBCL).

Package

toot

Source

specials.lisp (file)

Macro: handler-case* EXPRESSION &rest CLAUSES

Like HANDLER-CASE, but observes *CATCH-ERRORS-P*.

Package

toot

Source

conditions.lisp (file)

Macro: ignore-errors* &body BODY

Like IGNORE-ERRORS, but observes *CATCH-ERRORS-P*.

Package

toot

Source

conditions.lisp (file)

Macro: upgrade-vector VECTOR NEW-TYPE &key CONVERTER

Returns a vector with the same length and the same elements as VECTOR (a variable holding a vector) but having element type NEW-TYPE. If CONVERTER is not NIL, it should designate a function which will be applied to each element of VECTOR before the result is stored in the new vector. The resulting vector will have a fill pointer set to its end.

The macro also uses SETF to store the new vector in VECTOR.

Package

toot

Source

util.lisp (file)

Macro: with-debugger &body BODY

Executes BODY and invokes the debugger if an error is signaled and *CATCH-ERRORS-P* is NIL.

Package

toot

Source

conditions.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Functions

Function: accept-connections ACCEPTOR

Accept connections on our listen socket and hand them back to the taskmaster via handle-incoming-connection. Called by taskmaster’s execute-acceptor.

Package

toot

Source

http.lisp (file)

Function: add-handler SEARCH-HANDLER SUB-HANDLER
Package

toot-tests

Source

tests.lisp (file)

Function: charset-to-external-format CHARSET
Package

toot

Source

http.lisp (file)

Function: chunking-input-p REQUEST

Whether input chunking is currently switched on for the acceptor’s content stream.

Package

toot

Source

http.lisp (file)

Function: connection-handler-thread-name TASKMASTER SOCKET
Package

toot

Source

taskmaster.lisp (file)

Function: connection-values REQUEST
Package

toot

Source

http.lisp (file)

Function: content-type-sub STRUCTURE
Function: (setf content-type-sub) VALUE STRUCTURE
Package

toot

Source

rfc2388.lisp (file)

Function: content-type-super STRUCTURE
Function: (setf content-type-super) VALUE STRUCTURE
Package

toot

Source

rfc2388.lisp (file)

Function: convert-hack STRING EXTERNAL-FORMAT

The rfc2388 code is buggy in that it operates on a character stream and thus only accepts encodings which are 8 bit transparent. In order to support different encodings for parameter values submitted, we post process whatever string values the rfc2388 package has returned.

Package

toot

Source

http.lisp (file)

Function: cookie-out NAME REQUEST

Returns the current value of the outgoing cookie named NAME. Search is case-sensitive.

Package

toot

Source

api.lisp (file)

Function: copy-content-type SEQUENCE

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

Package

toot

Source

SYS:SRC;CODE;SEQ.LISP (not found)

Function: copy-header SEQUENCE

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

Package

toot

Source

SYS:SRC;CODE;SEQ.LISP (not found)

Function: copy-mime-part SEQUENCE

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

Package

toot

Source

SYS:SRC;CODE;SEQ.LISP (not found)

Function: create-connection-handler-thread TASKMASTER ACCEPTOR SOCKET

Create a thread for handling a single request

Package

toot

Source

taskmaster.lisp (file)

Function: decrement-taskmaster-request-count TASKMASTER
Package

toot

Source

taskmaster.lisp (file)

Function: default-error-message-generator REQUEST ERROR BACKTRACE

A function that generates a bare-bones error page to be used as an error page generator.

Package

toot

Source

http.lisp (file)

Function: delete-tmp-files REQUEST
Package

toot

Source

http.lisp (file)

Function: drain-body-stream REQUEST
Package

toot

Source

http.lisp (file)

Function: enough-url URL URL-PREFIX

Returns the relative portion of URL relative to URL-PREFIX, similar to what ENOUGH-NAMESTRING does for pathnames.

Package

toot-tests

Source

tests.lisp (file)

Function: error-body REQUEST &key ERROR BACKTRACE
Package

toot

Source

http.lisp (file)

Function: external-format-from-content-type CONTENT-TYPE

Creates and returns an external format corresponding to the value of the content type header provided in CONTENT-TYPE. If the content type was not set or if the character set specified was invalid, NIL is returned.

Package

toot

Source

http.lisp (file)

Function: finalize-response-headers REQUEST

Set certain headers automatically based on values in the request object.

Package

toot

Source

http.lisp (file)

Function: find-content-disposition-header HEADERS
Package

toot

Source

rfc2388.lisp (file)

Function: find-header LABEL HEADERS

Find header by label from set of headers.

Package

toot

Source

rfc2388.lisp (file)

Function: find-parameter NAME PARAMS

Find header parameter by name from set of parameters.

Package

toot

Source

rfc2388.lisp (file)

Function: finish-response-body REQUEST
Package

toot

Source

http.lisp (file)

Function: form-test-get-params REQUEST
Package

toot-tests

Source

tests.lisp (file)

Function: form-test-octets REQUEST
Package

toot-tests

Source

tests.lisp (file)

Function: form-test-params REQUEST
Package

toot-tests

Source

tests.lisp (file)

Function: form-test-stream REQUEST
Package

toot-tests

Source

tests.lisp (file)

Function: form-url-encoded-list-to-alist FORM-URL-ENCODED-LIST &optional EXTERNAL-FORMAT

Converts a list FORM-URL-ENCODED-LIST of name/value pairs into an alist. Both names and values are url-decoded while doing this.

Package

toot

Source

util.lisp (file)

Function: full-content-type REQUEST

Return the value for the Content-Type header, including a charset if it’s a text/* type.

Package

toot

Source

http.lisp (file)

Function: get-backtrace ()

Returns a string with a backtrace of what the Lisp system thinks is the "current" error.

Package

toot

Source

conditions.lisp (file)

Function: get-file-name HEADERS
Package

toot

Source

rfc2388.lisp (file)

Function: get-peer-address-and-port SOCKET

Returns the peer address and port of the socket SOCKET as two values. The address is returned as a string in dotted IP address notation.

Package

toot

Source

http.lisp (file)

Function: guess-mime-type EXTENSION
Package

toot

Source

mime-types.lisp (file)

Function: header-name STRUCTURE
Function: (setf header-name) VALUE STRUCTURE
Package

toot

Source

rfc2388.lisp (file)

Function: header-parameters STRUCTURE
Function: (setf header-parameters) VALUE STRUCTURE
Package

toot

Source

rfc2388.lisp (file)

Function: header-value STRUCTURE
Function: (setf header-value) VALUE STRUCTURE
Package

toot

Source

rfc2388.lisp (file)

Function: http-token-p TOKEN

Tests whether TOKEN is a string which is a valid ’token’ according to HTTP/1.1 (RFC 2068).

Package

toot

Source

cookie.lisp (file)

Function: hyperdoc-lookup SYMBOL TYPE
Package

toot

Source

specials.lisp (file)

Function: increment-taskmaster-request-count TASKMASTER
Package

toot

Source

taskmaster.lisp (file)

Function: internal-error FORMAT-CONTROL &rest FORMAT-ARGUMENTS

Signals an error of type TOOT-SIMPLE-ERROR with the provided format control and arguments.

Package

toot

Source

conditions.lisp (file)

Function: iso-time &optional TIME

Returns the universal time TIME as a string in full ISO format.

Package

toot

Source

util.lisp (file)

Function: keep-alive-p REQUEST

Should the current connection be kept alive? Secondary value indicates whether the client explicitly requested keep-alive. (Always the same as the primary value for HTTP/1.0 but potentially different in HTTP/1.1.)

Package

toot

Source

http.lisp (file)

Function: length-known-p REQUEST
Package

toot

Source

http.lisp (file)

Function: listen-thread-name ACCEPTOR
Package

toot

Source

taskmaster.lisp (file)

Function: lwsp-char-p CHAR

Returns true if CHAR is a linear-whitespace-char (LWSP-char). Either space or tab, in short.

Package

toot

Source

rfc2388.lisp (file)

Function: make-content-type SUPER SUB
Package

toot

Source

rfc2388.lisp (file)

Function: make-exact-path-handler PATH SUB-HANDLER

Make a handler that handles the request with SUB-HANDLER if the file name of the request is exactly the given PATH.

Package

toot-tests

Source

tests.lisp (file)

Function: make-header NAME VALUE PARAMETERS
Package

toot

Source

rfc2388.lisp (file)

Function: make-header-stream STREAM

Make a stream just for writing the HTTP headers.

Package

toot

Source

http.lisp (file)

Function: make-mime-part CONTENTS HEADERS
Package

toot

Source

rfc2388.lisp (file)

Function: make-search-handler &rest SUB-HANDLERS
Package

toot-tests

Source

tests.lisp (file)

Function: make-socket-stream SOCKET ACCEPTOR
Package

toot

Source

http.lisp (file)

Function: maybe-log-error REQUEST ERROR BACKTRACE
Package

toot

Source

http.lisp (file)

Function: maybe-log-warning REQUEST WARNING
Package

toot

Source

http.lisp (file)

Function: mime-content-type PART &key AS-STRING

Returns the Content-Type header of mime-part PART.

Package

toot

Source

rfc2388.lisp (file)

Function: mime-part-contents STRUCTURE
Function: (setf mime-part-contents) VALUE STRUCTURE
Package

toot

Source

rfc2388.lisp (file)

Function: mime-part-headers STRUCTURE
Function: (setf mime-part-headers) VALUE STRUCTURE
Package

toot

Source

rfc2388.lisp (file)

Function: not-implemented NAME

Used to signal an error if an operation named NAME is not implemented.

Package

toot

Source

conditions.lisp (file)

Function: notify-free-connection TASKMASTER
Package

toot

Source

taskmaster.lisp (file)

Function: parameter-error FORMAT-CONTROL &rest FORMAT-ARGUMENTS

Signals an error of type PARAMETER-ERROR with the provided format control and arguments.

Package

toot

Source

conditions.lisp (file)

Function: parse-application/x-www-form-urlencoded REQUEST EXTERNAL-FORMAT
Package

toot

Source

http.lisp (file)

Function: parse-content-type STRING

Returns content-type which is parsed from STRING.

Package

toot

Source

rfc2388.lisp (file)

Function: parse-content-type-header CONTENT-TYPE-HEADER

Reads and parses a ‘Content-Type’ header and returns it as three values - the type, the subtype, and the requests’ character set as specified in the ’charset’ parameter in the header, if there is one and if the content type is "text". CONTENT-TYPE-HEADER is supposed to be the corresponding header value as a string.

Package

toot

Source

util.lisp (file)

Function: parse-cookies REQUEST-HEADERS
Package

toot

Source

http.lisp (file)

Function: parse-multipart/form-data REQUEST EXTERNAL-FORMAT

Parse the REQUEST body as multipart/form-data, assuming that its content type has already been verified. Returns the form data as alist or NIL if there was no data or the data could not be parsed.

Package

toot

Source

http.lisp (file)

Function: parse-query-string REQUEST-URI
Package

toot

Source

http.lisp (file)

Function: parse-rfc2388-form-data STREAM CONTENT-TYPE-HEADER EXTERNAL-FORMAT TMP-FILENAME-GENERATOR

Creates an alist of POST parameters from the stream STREAM which is supposed to be of content type ’multipart/form-data’.

Package

toot

Source

http.lisp (file)

Function: possible-tmp-filename ()
Package

toot

Source

util.lisp (file)

Function: printable-ascii-char-p CHAR
Package

toot

Source

http.lisp (file)

Function: process-connection ACCEPTOR SOCKET

Actually process the connection accepted via accept connection. Called by taskmaster’s handle-incoming-connection, possibly in a different thread than accept-connection is running in.

Package

toot

Source

http.lisp (file)

Function: process-request REQUEST

Process a single request. Called repeatedly by process-connection.

Package

toot

Source

http.lisp (file)

Function: quote-string STRING

Quotes string according to RFC 2616’s definition of ‘quoted-string’.

Package

toot

Source

util.lisp (file)

Function: read-body-octets REQUEST

Read the post data and return it as a vector of octets.

Package

toot

Source

http.lisp (file)

Function: read-initial-request-line STREAM
Package

toot

Source

http.lisp (file)

Function: read-post-parameters REQUEST

Read the post parameters from the body of the request and return them as an alist.

Package

toot

Source

http.lisp (file)

Function: read-request STREAM

Reads incoming headers from the client via STREAM. Returns as multiple values the headers as an alist, the request-method, the URI, and the protocol of the request. The reading of the headers is handled by Chunga’s read-http-headers method.

Package

toot

Source

http.lisp (file)

Function: read-until-next-boundary STREAM BOUNDARY &optional DISCARD OUT-STREAM

Reads from STREAM up to the next boundary. Returns two values: read data (nil if DISCARD is true), and true if the boundary is not last (i.e., there’s more data).

Package

toot

Source

rfc2388.lisp (file)

Function: report-error-to-client REQUEST ERROR &optional BACKTRACE
Package

toot

Source

http.lisp (file)

Function: request-body-stream REQUEST

Return a stream from which the body of the request can be read. If the request specified a content-length, this stream will not read beyond it. And if the request is using chunked transfer encoding, the stream will be a chunked stream that will return :eof when it gets to the end of the input. After the request has been handled, any input remaining on the stream will be drained.

Package

toot

Source

http.lisp (file)

Function: reset-test-handler ()
Package

toot-tests

Source

tests.lisp (file)

Function: resolve-file PATH DOCUMENT-ROOT
Package

toot-tests

Source

tests.lisp (file)

Function: rfc-1123-date &optional TIME

Generates a time string according to RFC 1123. Default is current time.

Package

toot

Source

util.lisp (file)

Function: sans ARGS &rest TO-REMOVE
Package

toot

Source

util.lisp (file)

Function: send-bad-request-response STREAM &optional ADDITIONAL-INFO
Package

toot

Source

http.lisp (file)

Function: send-response REQUEST CONTENT &key CONTENT-TYPE CHARSET

Send a full response with the given content as the body.

Package

toot

Source

http.lisp (file)

Function: send-response-headers REQUEST CONTENT-LENGTH CONTENT-TYPE CHARSET

Send the response headers and return the stream to which the body of the response can be written. The stream is a binary stream. The public API function, SEND-HEADERS will wrap that stream in a flexi-stream based on the content-type and charset, if needed. Thus function is for functions that are going to take care of encoding the response themselves, such as SERVE-FILE, which just dumps an already encoded to the steam as octets. If the request was a HEAD request we dynamically abort rather than returning a stream.

Package

toot

Source

http.lisp (file)

Function: send-service-unavailable-response ACCEPTOR SOCKET

Send a response to the client before we’ve created a request object. This can be used by taskmasters when they cannot accept a connection.

Package

toot

Source

http.lisp (file)

Function: set-timeouts USOCKET READ-TIMEOUT WRITE-TIMEOUT

Sets up timeouts on the given USOCKET object. READ-TIMEOUT is the read timeout period, WRITE-TIMEOUT is the write timeout, specified in (fractional) seconds. The timeouts can either be implemented using the low-level socket options SO_RCVTIMEO and SO_SNDTIMEO or some other, implementation specific mechanism. On platforms that do not support separate read and write timeouts, both must be equal or an error will be signaled. READ-TIMEOUT and WRITE-TIMEOUT may be NIL, which means that the corresponding socket timeout value will not be set.

Package

toot

Source

set-timeouts.lisp (file)

Function: setup-ssl-stream ACCEPTOR STREAM
Package

toot

Source

http.lisp (file)

Function: skip-linear-whitespace STRING &key START END

Returns the position of first non-linear-whitespace character in STRING bound by START and END.

Package

toot

Source

rfc2388.lisp (file)

Function: start-test-server PORT
Package

toot-tests

Source

tests.lisp (file)

Function: start-trivial-server &key PORT
Package

toot-tests

Source

tests.lisp (file)

Function: stringify-cookie COOKIE
Package

toot

Source

cookie.lisp (file)

Function: test-document-directory &optional SUB-DIRECTORY
Package

toot-tests

Source

tests.lisp (file)

Function: test-handler ()
Package

toot-tests

Source

tests.lisp (file)

Function: text-type-p CONTENT-TYPE
Package

toot

Source

http.lisp (file)

Function: tmp-filename ()
Package

toot

Source

util.lisp (file)

Function: toot-warn FORMAT-CONTROL &rest FORMAT-ARGUMENTS

Signals a warning of type TOOT-SIMPLE-WARNING with the provided format control and arguments.

Package

toot

Source

conditions.lisp (file)

Function: trivial-handler REQUEST
Package

toot-tests

Source

tests.lisp (file)

Function: unparse-content-type CT

Returns content-type CT in string representation.

Package

toot

Source

rfc2388.lisp (file)

Function: wait-for-free-connection TASKMASTER
Package

toot

Source

taskmaster.lisp (file)

Function: write-cookies STREAM COOKIES
Package

toot

Source

http.lisp (file)

Function: write-header-line KEY VALUE STREAM
Package

toot

Source

http.lisp (file)

Function: write-headers STREAM HEADERS
Package

toot

Source

http.lisp (file)

Function: write-line-crlf STREAM FMT &rest ARGS
Package

toot

Source

http.lisp (file)

Function: write-simple-response STREAM STATUS-CODE &optional HEADERS CONTENT
Package

toot

Source

http.lisp (file)

Function: write-status-line STREAM STATUS-CODE
Package

toot

Source

http.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Generic functions

Generic Function: acceptor-process OBJECT
Generic Function: (setf acceptor-process) NEW-VALUE OBJECT
Package

toot

Methods
Method: acceptor-process (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated reader method

Source

taskmaster.lisp (file)

Method: (setf acceptor-process) NEW-VALUE (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated writer method

Source

taskmaster.lisp (file)

Generic Function: body CONDITION
Package

toot

Methods
Method: body (CONDITION request-aborted)
Source

conditions.lisp (file)

Generic Function: close-stream-p OBJECT
Generic Function: (setf close-stream-p) NEW-VALUE OBJECT
Package

toot

Methods
Method: close-stream-p (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Method: (setf close-stream-p) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

http.lisp (file)

Generic Function: content-stream OBJECT
Generic Function: (setf content-stream) NEW-VALUE OBJECT
Package

toot

Methods
Method: content-stream (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Method: (setf content-stream) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

http.lisp (file)

Generic Function: cookies-out OBJECT
Generic Function: (setf cookies-out) NEW-VALUE OBJECT
Package

toot

Methods
Method: cookies-out (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Method: (setf cookies-out) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

http.lisp (file)

Generic Function: destination OBJECT
Package

toot

Methods
Method: destination (STREAM-LOGGER stream-logger)

automatically generated reader method

Source

log.lisp (file)

Generic Function: domain OBJECT
Generic Function: (setf domain) NEW-VALUE OBJECT
Package

toot

Methods
Method: domain (COOKIE cookie)

automatically generated reader method

Source

cookie.lisp (file)

Method: (setf domain) NEW-VALUE (COOKIE cookie)

automatically generated writer method

Source

cookie.lisp (file)

Generic Function: execute-acceptor TASKMASTER ACCEPTOR

Called on a taskmaster which should call accept-connections on the acceptor.

Package

toot

Source

taskmaster.lisp (file)

Methods
Method: execute-acceptor (TASKMASTER thread-per-connection-taskmaster) ACCEPTOR
Method: execute-acceptor (TASKMASTER single-threaded-taskmaster) ACCEPTOR
Generic Function: expires OBJECT
Generic Function: (setf expires) NEW-VALUE OBJECT
Package

toot

Methods
Method: expires (COOKIE cookie)

automatically generated reader method

Source

cookie.lisp (file)

Method: (setf expires) NEW-VALUE (COOKIE cookie)

automatically generated writer method

Source

cookie.lisp (file)

Generic Function: handle-incoming-connection TASKMASTER ACCEPTOR SOCKET

Called on a taskmaster to handle a new connection by calling process-connection on acceptor.

Package

toot

Source

taskmaster.lisp (file)

Methods
Method: handle-incoming-connection (TASKMASTER thread-per-connection-taskmaster) ACCEPTOR SOCKET
Method: handle-incoming-connection (TASKMASTER single-threaded-taskmaster) ACCEPTOR SOCKET
Generic Function: handlers OBJECT
Generic Function: (setf handlers) NEW-VALUE OBJECT
Package

toot-tests

Methods
Method: handlers (SEARCH-HANDLER search-handler)

automatically generated reader method

Source

tests.lisp (file)

Method: (setf handlers) NEW-VALUE (SEARCH-HANDLER search-handler)

automatically generated writer method

Source

tests.lisp (file)

Generic Function: headers-sent-p OBJECT
Generic Function: (setf headers-sent-p) NEW-VALUE OBJECT
Package

toot

Methods
Method: headers-sent-p (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Method: (setf headers-sent-p) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

http.lisp (file)

Generic Function: http-only OBJECT
Generic Function: (setf http-only) NEW-VALUE OBJECT
Package

toot

Methods
Method: http-only (COOKIE cookie)

automatically generated reader method

Source

cookie.lisp (file)

Method: (setf http-only) NEW-VALUE (COOKIE cookie)

automatically generated writer method

Source

cookie.lisp (file)

Generic Function: listen-backlog OBJECT
Package

toot

Methods
Method: listen-backlog (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: listen-socket OBJECT
Generic Function: (setf listen-socket) NEW-VALUE OBJECT
Package

toot

Methods
Method: listen-socket (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Method: (setf listen-socket) NEW-VALUE (ACCEPTOR acceptor)

automatically generated writer method

Source

http.lisp (file)

Generic Function: lock OBJECT
Package

toot

Methods
Method: lock (STREAM-LOGGER stream-logger)

automatically generated reader method

Source

log.lisp (file)

Generic Function: log-access LOGGER REQUEST

Write a log entry for the request to the access log.

Package

toot

Source

log.lisp (file)

Methods
Method: log-access (LOGGER stream-logger) REQUEST
Method: log-access (LOGGER null) REQUEST
Generic Function: log-message LOGGER LOG-LEVEL FORMAT-STRING &rest FORMAT-ARGUMENTS

Write a log entry to the message log.

Package

toot

Source

log.lisp (file)

Methods
Method: log-message (REQUEST request) LOG-LEVEL FORMAT-STRING &rest FORMAT-ARGUMENTS
Source

http.lisp (file)

Method: log-message (ACCEPTOR acceptor) LOG-LEVEL FORMAT-STRING &rest FORMAT-ARGUMENTS
Source

http.lisp (file)

Method: log-message (LOGGER stream-logger) LOG-LEVEL FORMAT-STRING &rest FORMAT-ARGUMENTS
Method: log-message (LOGGER null) LOG-LEVEL FORMAT-STRING &rest FORMAT-ARGUMENTS
Generic Function: maybe-invoke-debugger CONDITION

This generic function is called whenever a
condition CONDITION is signaled in Toot. You might want to specialize it on specific condition classes for debugging purposes. The default method invokes the debugger with CONDITION if *CATCH-ERRORS-P* is NIL.

Package

toot

Source

conditions.lisp (file)

Methods
Method: maybe-invoke-debugger CONDITION
Generic Function: operation CONDITION
Package

toot

Methods
Method: operation (CONDITION operation-not-implemented)
Source

conditions.lisp (file)

Generic Function: parse-header SOURCE &optional START-STATE

Parses SOURCE and returs a single MIME header.

Header is a list of the form (NAME VALUE PARAMETERS), PARAMETERS is a list of (NAME . VALUE)

Package

toot

Source

rfc2388.lisp (file)

Methods
Method: parse-header (STREAM stream) &optional START-STATE

Returns a MIME part header, or NIL, if there is no header. Header is terminated by CRLF.

Method: parse-header (SOURCE string) &optional START-STATE
Generic Function: parse-mime SOURCE BOUNDARY TMP-FILENAME-GENERATOR

Parses MIME entities, returning them as a list. Each element in the list is of form: (body headers), where BODY is the contents of MIME part, and HEADERS are all headers for that part. BOUNDARY is a string used to separate MIME entities.

Package

toot

Source

rfc2388.lisp (file)

Methods
Method: parse-mime (INPUT stream) BOUNDARY TMP-FILENAME-GENERATOR
Method: parse-mime (INPUT string) SEPARATOR TMP-FILENAME-GENERATOR
Generic Function: path OBJECT
Generic Function: (setf path) NEW-VALUE OBJECT
Package

toot

Methods
Method: path (COOKIE cookie)

automatically generated reader method

Source

cookie.lisp (file)

Method: (setf path) NEW-VALUE (COOKIE cookie)

automatically generated writer method

Source

cookie.lisp (file)

Generic Function: path-checker OBJECT
Generic Function: (setf path-checker) NEW-VALUE OBJECT
Package

toot

Methods
Method: path-checker (STATIC-FILE-HANDLER static-file-handler)

automatically generated reader method

Source

api.lisp (file)

Method: (setf path-checker) NEW-VALUE (STATIC-FILE-HANDLER static-file-handler)

automatically generated writer method

Source

api.lisp (file)

Generic Function: requests-in-progress OBJECT
Generic Function: (setf requests-in-progress) NEW-VALUE OBJECT
Package

toot

Methods
Method: requests-in-progress (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Method: (setf requests-in-progress) NEW-VALUE (ACCEPTOR acceptor)

automatically generated writer method

Source

http.lisp (file)

Generic Function: response-charset OBJECT
Generic Function: (setf response-charset) NEW-VALUE OBJECT
Package

toot

Methods
Method: response-charset (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Method: (setf response-charset) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

http.lisp (file)

Generic Function: response-headers OBJECT
Generic Function: (setf response-headers) NEW-VALUE OBJECT
Package

toot

Methods
Method: response-headers (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Method: (setf response-headers) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

http.lisp (file)

Generic Function: response-status-code CONDITION
Package

toot

Methods
Method: response-status-code (CONDITION request-aborted)
Source

conditions.lisp (file)

Generic Function: root OBJECT
Generic Function: (setf root) NEW-VALUE OBJECT
Package

toot

Methods
Method: root (STATIC-FILE-HANDLER static-file-handler)

automatically generated reader method

Source

api.lisp (file)

Method: (setf root) NEW-VALUE (STATIC-FILE-HANDLER static-file-handler)

automatically generated writer method

Source

api.lisp (file)

Generic Function: secure OBJECT
Generic Function: (setf secure) NEW-VALUE OBJECT
Package

toot

Methods
Method: secure (COOKIE cookie)

automatically generated reader method

Source

cookie.lisp (file)

Method: (setf secure) NEW-VALUE (COOKIE cookie)

automatically generated writer method

Source

cookie.lisp (file)

Generic Function: shutdown TASKMASTER

Shutdown the taskmaster, cleaning up any threads it created.

Package

toot

Source

taskmaster.lisp (file)

Methods
Method: shutdown (TASKMASTER thread-per-connection-taskmaster)
Method: shutdown (TASKMASTER single-threaded-taskmaster)
Generic Function: shutdown-lock OBJECT
Generic Function: (setf shutdown-lock) NEW-VALUE OBJECT
Package

toot

Methods
Method: shutdown-lock (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Method: (setf shutdown-lock) NEW-VALUE (ACCEPTOR acceptor)

automatically generated writer method

Source

http.lisp (file)

Generic Function: shutdown-p OBJECT
Generic Function: (setf shutdown-p) NEW-VALUE OBJECT
Package

toot

Methods
Method: shutdown-p (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Method: (setf shutdown-p) NEW-VALUE (ACCEPTOR acceptor)

automatically generated writer method

Source

http.lisp (file)

Generic Function: shutdown-queue OBJECT
Generic Function: (setf shutdown-queue) NEW-VALUE OBJECT
Package

toot

Methods
Method: shutdown-queue (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Method: (setf shutdown-queue) NEW-VALUE (ACCEPTOR acceptor)

automatically generated writer method

Source

http.lisp (file)

Generic Function: ssl-certificate-file OBJECT
Package

toot

Methods
Method: ssl-certificate-file (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: ssl-private-key-file OBJECT
Package

toot

Methods
Method: ssl-private-key-file (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: ssl-private-key-password OBJECT
Package

toot

Methods
Method: ssl-private-key-password (ACCEPTOR acceptor)

automatically generated reader method

Source

http.lisp (file)

Generic Function: taskmaster-max-accept-count OBJECT
Generic Function: (setf taskmaster-max-accept-count) NEW-VALUE OBJECT
Package

toot

Methods
Method: taskmaster-max-accept-count (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated reader method

Source

taskmaster.lisp (file)

Method: (setf taskmaster-max-accept-count) NEW-VALUE (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated writer method

Source

taskmaster.lisp (file)

Generic Function: taskmaster-max-thread-count OBJECT
Generic Function: (setf taskmaster-max-thread-count) NEW-VALUE OBJECT
Package

toot

Methods
Method: taskmaster-max-thread-count (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated reader method

Source

taskmaster.lisp (file)

Method: (setf taskmaster-max-thread-count) NEW-VALUE (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated writer method

Source

taskmaster.lisp (file)

Generic Function: taskmaster-request-count OBJECT
Generic Function: (setf taskmaster-request-count) NEW-VALUE OBJECT
Package

toot

Methods
Method: taskmaster-request-count (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated reader method

Source

taskmaster.lisp (file)

Method: (setf taskmaster-request-count) NEW-VALUE (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated writer method

Source

taskmaster.lisp (file)

Generic Function: taskmaster-request-count-lock OBJECT
Package

toot

Methods
Method: taskmaster-request-count-lock (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated reader method

Source

taskmaster.lisp (file)

Generic Function: taskmaster-wait-lock OBJECT
Package

toot

Methods
Method: taskmaster-wait-lock (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated reader method

Source

taskmaster.lisp (file)

Generic Function: taskmaster-wait-queue OBJECT
Package

toot

Methods
Method: taskmaster-wait-queue (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated reader method

Source

taskmaster.lisp (file)

Generic Function: taskmaster-worker-thread-name-format OBJECT
Generic Function: (setf taskmaster-worker-thread-name-format) NEW-VALUE OBJECT
Package

toot

Methods
Method: taskmaster-worker-thread-name-format (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated reader method

Source

taskmaster.lisp (file)

Method: (setf taskmaster-worker-thread-name-format) NEW-VALUE (THREAD-PER-CONNECTION-TASKMASTER thread-per-connection-taskmaster)

automatically generated writer method

Source

taskmaster.lisp (file)

Generic Function: tmp-files OBJECT
Generic Function: (setf tmp-files) NEW-VALUE OBJECT
Package

toot

Methods
Method: tmp-files (REQUEST request)

automatically generated reader method

Source

http.lisp (file)

Method: (setf tmp-files) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

http.lisp (file)

Generic Function: value OBJECT
Generic Function: (setf value) NEW-VALUE OBJECT
Package

toot

Methods
Method: value (COOKIE cookie)

automatically generated reader method

Source

cookie.lisp (file)

Method: (setf value) NEW-VALUE (COOKIE cookie)

automatically generated writer method

Source

cookie.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.6 Conditions

Condition: operation-not-implemented ()

This warning is signalled when an operation (like SETUID for example) is not implemented for a specific Lisp.

Package

toot

Source

conditions.lisp (file)

Direct superclasses

toot-error (condition)

Direct methods

operation (method)

Direct slots
Slot: operation

The name of the unimplemented operation.

Initargs

:operation

Readers

operation (generic function)

Condition: parameter-error ()

Signalled if a function was called with incosistent or illegal parameters.

Package

toot

Source

conditions.lisp (file)

Direct superclasses

toot-simple-error (condition)

Condition: request-aborted ()

Signaled internally to cause handling of a request to be aborted and a response sent by Toot itself.

Package

toot

Source

conditions.lisp (file)

Direct superclasses

toot-condition (condition)

Direct methods
Direct slots
Slot: response-status-code
Initargs

:response-status-code

Readers

response-status-code (generic function)

Slot: body
Initargs

:body

Initform

(quote nil)

Readers

body (generic function)

Condition: toot-condition ()

Superclass for all conditions related to Toot.

Package

toot

Source

conditions.lisp (file)

Direct superclasses

condition (condition)

Direct subclasses
Condition: toot-error ()

Superclass for all errors related to Toot.

Package

toot

Source

conditions.lisp (file)

Direct superclasses
Direct subclasses
Condition: toot-simple-error ()

Like TOOT-ERROR but with formatting capabilities.

Package

toot

Source

conditions.lisp (file)

Direct superclasses
  • simple-condition (condition)
  • toot-error (condition)
Direct subclasses

parameter-error (condition)

Condition: toot-simple-warning ()

Like TOOT-WARNING but with formatting capabilities.

Package

toot

Source

conditions.lisp (file)

Direct superclasses
Condition: toot-warning ()

Superclass for all warnings related to Toot.

Package

toot

Source

conditions.lisp (file)

Direct superclasses
Direct subclasses

toot-simple-warning (condition)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.7 Classes

Class: cookie ()
Package

toot

Source

cookie.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • initialize-instance (method)
  • http-only (method)
  • http-only (method)
  • secure (method)
  • secure (method)
  • domain (method)
  • domain (method)
  • path (method)
  • path (method)
  • expires (method)
  • expires (method)
  • value (method)
  • value (method)
  • name (method)
Direct slots
Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Slot: value
Initargs

:value

Initform

""

Readers

value (generic function)

Writers

(setf value) (generic function)

Slot: expires
Initargs

:expires

Readers

expires (generic function)

Writers

(setf expires) (generic function)

Slot: path
Initargs

:path

Readers

path (generic function)

Writers

(setf path) (generic function)

Slot: domain
Initargs

:domain

Readers

domain (generic function)

Writers

(setf domain) (generic function)

Slot: secure
Initargs

:secure

Readers

secure (generic function)

Writers

(setf secure) (generic function)

Slot: http-only
Initargs

:http-only

Readers

http-only (generic function)

Writers

(setf http-only) (generic function)

Class: request ()
Package

toot

Source

http.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: remote-addr
Initargs

:remote-addr

Readers

remote-addr (generic function)

Slot: remote-port
Initargs

:remote-port

Readers

remote-port (generic function)

Slot: request-method
Initargs

:request-method

Readers

request-method (generic function)

Slot: server-protocol
Initargs

:server-protocol

Readers

server-protocol (generic function)

Slot: request-uri
Initargs

:request-uri

Readers

request-uri (generic function)

Slot: get-parameters
Readers

get-parameters (generic function)

Slot: post-parameters
Readers

post-parameters (generic function)

Slot: body-stream
Readers

body-stream (generic function)

Slot: body-octets
Readers

body-octets (generic function)

Slot: request-headers
Initargs

:request-headers

Readers

request-headers (generic function)

Slot: cookies-in
Readers

cookies-in (generic function)

Slot: status-code
Initform

toot:+http-ok+

Readers

status-code (generic function)

Writers

(setf status-code) (generic function)

Slot: content-length
Readers

content-length (generic function)

Writers

(setf content-length) (generic function)

Slot: content-type
Initform

toot:*default-content-type*

Readers

content-type (generic function)

Writers

(setf content-type) (generic function)

Slot: response-charset
Initform

toot::*default-charset*

Readers

response-charset (generic function)

Writers

(setf response-charset) (generic function)

Slot: response-headers
Readers

response-headers (generic function)

Writers

(setf response-headers) (generic function)

Slot: cookies-out
Readers

cookies-out (generic function)

Writers

(setf cookies-out) (generic function)

Slot: headers-sent-p
Readers

headers-sent-p (generic function)

Writers

(setf headers-sent-p) (generic function)

Slot: close-stream-p
Initform

t

Readers

close-stream-p (generic function)

Writers

(setf close-stream-p) (generic function)

Slot: acceptor
Initargs

:acceptor

Readers

acceptor (generic function)

Slot: content-stream
Initargs

:content-stream

Readers

content-stream (generic function)

Writers

(setf content-stream) (generic function)

Slot: tmp-files
Readers

tmp-files (generic function)

Writers

(setf tmp-files) (generic function)

Class: search-handler ()
Package

toot-tests

Source

tests.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: handlers
Initargs

:handlers

Readers

handlers (generic function)

Writers

(setf handlers) (generic function)

Class: single-threaded-taskmaster ()
Package

toot

Source

taskmaster.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Class: thread-per-connection-taskmaster ()

A taskmaster that starts one thread for listening
to incoming requests and one new thread for each incoming connection.

If MAX-THREAD-COUNT is null, a new thread will always be created for each request.

If MAX-THREAD-COUNT is supplied, the number of request threads is limited to that. Furthermore, if MAX-ACCEPT-COUNT is not supplied, an HTTP 503 will be sent if the thread limit is exceeded. Otherwise, if MAX-ACCEPT-COUNT is supplied, it must be greater than MAX-THREAD-COUNT; in this case, requests are accepted up to MAX-ACCEPT-COUNT, and only then is HTTP 503 sent.

In a load-balanced environment with multiple Toot servers, it’s reasonable to provide MAX-THREAD-COUNT but leave MAX-ACCEPT-COUNT null. This will immediately result in HTTP 503 when one server is out of resources, so the load balancer can try to find another server.

In an environment with a single Toot server, it’s reasonable
to provide both MAX-THREAD-COUNT and a somewhat larger value for MAX-ACCEPT-COUNT. This will cause a server that’s almost out of resources to wait a bit; if the server is completely out of resources, then the reply will be HTTP 503.

This is the default taskmaster implementation for multi-threaded Lisp implementations.

Package

toot

Source

taskmaster.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: acceptor-process
Readers

acceptor-process (generic function)

Writers

(setf acceptor-process) (generic function)

Slot: max-thread-count
Type

(or integer null)

Initargs

:max-thread-count

Readers

taskmaster-max-thread-count (generic function)

Writers

(setf taskmaster-max-thread-count) (generic function)

Slot: max-accept-count
Type

(or integer null)

Initargs

:max-accept-count

Readers

taskmaster-max-accept-count (generic function)

Writers

(setf taskmaster-max-accept-count) (generic function)

Slot: request-count
Type

integer

Initform

0

Readers

taskmaster-request-count (generic function)

Writers

(setf taskmaster-request-count) (generic function)

Slot: request-count-lock
Initform

(bordeaux-threads:make-lock "taskmaster-request-count")

Readers

taskmaster-request-count-lock (generic function)

Slot: wait-queue
Initform

(bordeaux-threads:make-condition-variable)

Readers

taskmaster-wait-queue (generic function)

Slot: wait-lock
Initform

(bordeaux-threads:make-lock "taskmaster-thread-lock")

Readers

taskmaster-wait-lock (generic function)

Slot: worker-thread-name-format
Type

(or string null)

Initargs

:worker-thread-name-format

Initform

"toot-worker-~a"

Readers

taskmaster-worker-thread-name-format (generic function)

Writers

(setf taskmaster-worker-thread-name-format) (generic function)

Direct Default Initargs
InitargValue
:max-thread-counttoot::*default-max-thread-count*
:max-accept-counttoot::*default-max-accept-count*

Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   T  
Index Entry  Section

F
File, Lisp, toot.asd: The toot<dot>asd file
File, Lisp, toot/api.lisp: The toot/api<dot>lisp file
File, Lisp, toot/conditions.lisp: The toot/conditions<dot>lisp file
File, Lisp, toot/cookie.lisp: The toot/cookie<dot>lisp file
File, Lisp, toot/documentation.lisp: The toot/documentation<dot>lisp file
File, Lisp, toot/http.lisp: The toot/http<dot>lisp file
File, Lisp, toot/log.lisp: The toot/log<dot>lisp file
File, Lisp, toot/mime-types.lisp: The toot/mime-types<dot>lisp file
File, Lisp, toot/packages.lisp: The toot/packages<dot>lisp file
File, Lisp, toot/rfc2388.lisp: The toot/rfc2388<dot>lisp file
File, Lisp, toot/set-timeouts.lisp: The toot/set-timeouts<dot>lisp file
File, Lisp, toot/specials.lisp: The toot/specials<dot>lisp file
File, Lisp, toot/taskmaster.lisp: The toot/taskmaster<dot>lisp file
File, Lisp, toot/tests.lisp: The toot/tests<dot>lisp file
File, Lisp, toot/util.lisp: The toot/util<dot>lisp file

L
Lisp File, toot.asd: The toot<dot>asd file
Lisp File, toot/api.lisp: The toot/api<dot>lisp file
Lisp File, toot/conditions.lisp: The toot/conditions<dot>lisp file
Lisp File, toot/cookie.lisp: The toot/cookie<dot>lisp file
Lisp File, toot/documentation.lisp: The toot/documentation<dot>lisp file
Lisp File, toot/http.lisp: The toot/http<dot>lisp file
Lisp File, toot/log.lisp: The toot/log<dot>lisp file
Lisp File, toot/mime-types.lisp: The toot/mime-types<dot>lisp file
Lisp File, toot/packages.lisp: The toot/packages<dot>lisp file
Lisp File, toot/rfc2388.lisp: The toot/rfc2388<dot>lisp file
Lisp File, toot/set-timeouts.lisp: The toot/set-timeouts<dot>lisp file
Lisp File, toot/specials.lisp: The toot/specials<dot>lisp file
Lisp File, toot/taskmaster.lisp: The toot/taskmaster<dot>lisp file
Lisp File, toot/tests.lisp: The toot/tests<dot>lisp file
Lisp File, toot/util.lisp: The toot/util<dot>lisp file

T
toot.asd: The toot<dot>asd file
toot/api.lisp: The toot/api<dot>lisp file
toot/conditions.lisp: The toot/conditions<dot>lisp file
toot/cookie.lisp: The toot/cookie<dot>lisp file
toot/documentation.lisp: The toot/documentation<dot>lisp file
toot/http.lisp: The toot/http<dot>lisp file
toot/log.lisp: The toot/log<dot>lisp file
toot/mime-types.lisp: The toot/mime-types<dot>lisp file
toot/packages.lisp: The toot/packages<dot>lisp file
toot/rfc2388.lisp: The toot/rfc2388<dot>lisp file
toot/set-timeouts.lisp: The toot/set-timeouts<dot>lisp file
toot/specials.lisp: The toot/specials<dot>lisp file
toot/taskmaster.lisp: The toot/taskmaster<dot>lisp file
toot/tests.lisp: The toot/tests<dot>lisp file
toot/util.lisp: The toot/util<dot>lisp file

Jump to:   F   L   T  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
A   B   C   D   E   F   G   H   I   K   L   M   N   O   P   Q   R   S   T   U   V   W  
Index Entry  Section

(
(setf acceptor-process): Internal generic functions
(setf acceptor-process): Internal generic functions
(setf access-logger): Exported generic functions
(setf access-logger): Exported generic functions
(setf close-stream-p): Internal generic functions
(setf close-stream-p): Internal generic functions
(setf content-length): Exported generic functions
(setf content-length): Exported generic functions
(setf content-stream): Internal generic functions
(setf content-stream): Internal generic functions
(setf content-type): Exported generic functions
(setf content-type): Exported generic functions
(setf content-type-sub): Internal functions
(setf content-type-super): Internal functions
(setf cookies-out): Internal generic functions
(setf cookies-out): Internal generic functions
(setf domain): Internal generic functions
(setf domain): Internal generic functions
(setf error-generator): Exported generic functions
(setf error-generator): Exported generic functions
(setf expires): Internal generic functions
(setf expires): Internal generic functions
(setf handler): Exported generic functions
(setf handler): Exported generic functions
(setf handlers): Internal generic functions
(setf handlers): Internal generic functions
(setf header-name): Internal functions
(setf header-parameters): Internal functions
(setf header-value): Internal functions
(setf headers-sent-p): Internal generic functions
(setf headers-sent-p): Internal generic functions
(setf http-only): Internal generic functions
(setf http-only): Internal generic functions
(setf listen-socket): Internal generic functions
(setf listen-socket): Internal generic functions
(setf message-logger): Exported generic functions
(setf message-logger): Exported generic functions
(setf mime-part-contents): Internal functions
(setf mime-part-headers): Internal functions
(setf path): Internal generic functions
(setf path): Internal generic functions
(setf path-checker): Internal generic functions
(setf path-checker): Internal generic functions
(setf persistent-connections-p): Exported generic functions
(setf persistent-connections-p): Exported generic functions
(setf requests-in-progress): Internal generic functions
(setf requests-in-progress): Internal generic functions
(setf response-charset): Internal generic functions
(setf response-charset): Internal generic functions
(setf response-header): Exported functions
(setf response-headers): Internal generic functions
(setf response-headers): Internal generic functions
(setf root): Internal generic functions
(setf root): Internal generic functions
(setf secure): Internal generic functions
(setf secure): Internal generic functions
(setf shutdown-lock): Internal generic functions
(setf shutdown-lock): Internal generic functions
(setf shutdown-p): Internal generic functions
(setf shutdown-p): Internal generic functions
(setf shutdown-queue): Internal generic functions
(setf shutdown-queue): Internal generic functions
(setf status-code): Exported generic functions
(setf status-code): Exported generic functions
(setf taskmaster-max-accept-count): Internal generic functions
(setf taskmaster-max-accept-count): Internal generic functions
(setf taskmaster-max-thread-count): Internal generic functions
(setf taskmaster-max-thread-count): Internal generic functions
(setf taskmaster-request-count): Internal generic functions
(setf taskmaster-request-count): Internal generic functions
(setf taskmaster-worker-thread-name-format): Internal generic functions
(setf taskmaster-worker-thread-name-format): Internal generic functions
(setf tmp-files): Internal generic functions
(setf tmp-files): Internal generic functions
(setf value): Internal generic functions
(setf value): Internal generic functions

A
abort-request-handler: Exported functions
accept-connections: Internal functions
acceptor: Exported generic functions
acceptor: Exported generic functions
acceptor-process: Internal generic functions
acceptor-process: Internal generic functions
access-logger: Exported generic functions
access-logger: Exported generic functions
add-handler: Internal functions
add-index: Exported functions
address: Exported generic functions
address: Exported generic functions
authorization: Exported functions

B
body: Internal generic functions
body: Internal generic functions
body-octets: Exported generic functions
body-octets: Exported generic functions
body-octets: Exported generic functions
body-stream: Exported generic functions
body-stream: Exported generic functions
body-stream: Exported generic functions

C
charset-to-external-format: Internal functions
chunking-input-p: Internal functions
close-stream-p: Internal generic functions
close-stream-p: Internal generic functions
connection-handler-thread-name: Internal functions
connection-values: Internal functions
content-length: Exported generic functions
content-length: Exported generic functions
content-stream: Internal generic functions
content-stream: Internal generic functions
content-type: Exported generic functions
content-type: Exported generic functions
content-type-sub: Internal functions
content-type-super: Internal functions
convert-hack: Internal functions
cookie-out: Internal functions
cookie-value: Exported functions
cookies-in: Exported generic functions
cookies-in: Exported generic functions
cookies-out: Internal generic functions
cookies-out: Internal generic functions
copy-content-type: Internal functions
copy-header: Internal functions
copy-mime-part: Internal functions
create-connection-handler-thread: Internal functions

D
decrement-taskmaster-request-count: Internal functions
def-http-status-code: Internal macros
default-error-message-generator: Internal functions
defconstant: Internal macros
delete-tmp-files: Internal functions
destination: Internal generic functions
destination: Internal generic functions
domain: Internal generic functions
domain: Internal generic functions
drain-body-stream: Internal functions

E
enough-url: Internal functions
error-body: Internal functions
error-generator: Exported generic functions
error-generator: Exported generic functions
escape-for-html: Exported functions
execute-acceptor: Internal generic functions
execute-acceptor: Internal generic functions
execute-acceptor: Internal generic functions
expires: Internal generic functions
expires: Internal generic functions
external-format-from-content-type: Internal functions

F
finalize-response-headers: Internal functions
find-content-disposition-header: Internal functions
find-header: Internal functions
find-parameter: Internal functions
finish-response-body: Internal functions
form-test-get-params: Internal functions
form-test-octets: Internal functions
form-test-params: Internal functions
form-test-stream: Internal functions
form-url-encoded-list-to-alist: Internal functions
full-content-type: Internal functions
Function, (setf content-type-sub): Internal functions
Function, (setf content-type-super): Internal functions
Function, (setf header-name): Internal functions
Function, (setf header-parameters): Internal functions
Function, (setf header-value): Internal functions
Function, (setf mime-part-contents): Internal functions
Function, (setf mime-part-headers): Internal functions
Function, (setf response-header): Exported functions
Function, abort-request-handler: Exported functions
Function, accept-connections: Internal functions
Function, add-handler: Internal functions
Function, add-index: Exported functions
Function, authorization: Exported functions
Function, charset-to-external-format: Internal functions
Function, chunking-input-p: Internal functions
Function, connection-handler-thread-name: Internal functions
Function, connection-values: Internal functions
Function, content-type-sub: Internal functions
Function, content-type-super: Internal functions
Function, convert-hack: Internal functions
Function, cookie-out: Internal functions
Function, cookie-value: Exported functions
Function, copy-content-type: Internal functions
Function, copy-header: Internal functions
Function, copy-mime-part: Internal functions
Function, create-connection-handler-thread: Internal functions
Function, decrement-taskmaster-request-count: Internal functions
Function, default-error-message-generator: Internal functions
Function, delete-tmp-files: Internal functions
Function, drain-body-stream: Internal functions
Function, enough-url: Internal functions
Function, error-body: Internal functions
Function, escape-for-html: Exported functions
Function, external-format-from-content-type: Internal functions
Function, finalize-response-headers: Internal functions
Function, find-content-disposition-header: Internal functions
Function, find-header: Internal functions
Function, find-parameter: Internal functions
Function, finish-response-body: Internal functions
Function, form-test-get-params: Internal functions
Function, form-test-octets: Internal functions
Function, form-test-params: Internal functions
Function, form-test-stream: Internal functions
Function, form-url-encoded-list-to-alist: Internal functions
Function, full-content-type: Internal functions
Function, get-backtrace: Internal functions
Function, get-file-name: Internal functions
Function, get-parameter: Exported functions
Function, get-peer-address-and-port: Internal functions
Function, guess-mime-type: Internal functions
Function, handle-if-modified-since: Exported functions
Function, handle-range: Exported functions
Function, header-name: Internal functions
Function, header-parameters: Internal functions
Function, header-value: Internal functions
Function, http-token-p: Internal functions
Function, hyperdoc-lookup: Internal functions
Function, increment-taskmaster-request-count: Internal functions
Function, internal-error: Internal functions
Function, iso-time: Internal functions
Function, keep-alive-p: Internal functions
Function, length-known-p: Internal functions
Function, listen-thread-name: Internal functions
Function, lwsp-char-p: Internal functions
Function, make-content-type: Internal functions
Function, make-exact-path-handler: Internal functions
Function, make-header: Internal functions
Function, make-header-stream: Internal functions
Function, make-mime-part: Internal functions
Function, make-search-handler: Internal functions
Function, make-socket-stream: Internal functions
Function, maybe-log-error: Internal functions
Function, maybe-log-warning: Internal functions
Function, mime-content-type: Internal functions
Function, mime-part-contents: Internal functions
Function, mime-part-headers: Internal functions
Function, no-cache: Exported functions
Function, not-implemented: Internal functions
Function, notify-free-connection: Internal functions
Function, parameter: Exported functions
Function, parameter-error: Internal functions
Function, parse-application/x-www-form-urlencoded: Internal functions
Function, parse-content-type: Internal functions
Function, parse-content-type-header: Internal functions
Function, parse-cookies: Internal functions
Function, parse-multipart/form-data: Internal functions
Function, parse-query-string: Internal functions
Function, parse-rfc2388-form-data: Internal functions
Function, possible-tmp-filename: Internal functions
Function, post-parameter: Exported functions
Function, printable-ascii-char-p: Internal functions
Function, process-connection: Internal functions
Function, process-request: Internal functions
Function, quote-string: Internal functions
Function, read-body-octets: Internal functions
Function, read-initial-request-line: Internal functions
Function, read-post-parameters: Internal functions
Function, read-request: Internal functions
Function, read-until-next-boundary: Internal functions
Function, real-remote-addr: Exported functions
Function, reason-phrase: Exported functions
Function, redirect: Exported functions
Function, report-error-to-client: Internal functions
Function, request-authority: Exported functions
Function, request-body-stream: Internal functions
Function, request-header: Exported functions
Function, request-host: Exported functions
Function, request-path: Exported functions
Function, request-port: Exported functions
Function, request-query: Exported functions
Function, request-scheme: Exported functions
Function, require-authorization: Exported functions
Function, reset-test-handler: Internal functions
Function, resolve-file: Internal functions
Function, response-header: Exported functions
Function, response-sent-p: Exported functions
Function, rfc-1123-date: Internal functions
Function, safe-pathname-p: Exported functions
Function, sans: Internal functions
Function, send-bad-request-response: Internal functions
Function, send-headers: Exported functions
Function, send-response: Internal functions
Function, send-response-headers: Internal functions
Function, send-service-unavailable-response: Internal functions
Function, serve-file: Exported functions
Function, set-cookie: Exported functions
Function, set-timeouts: Internal functions
Function, setup-ssl-stream: Internal functions
Function, skip-linear-whitespace: Internal functions
Function, start-acceptor: Exported functions
Function, start-server: Exported functions
Function, start-test-server: Internal functions
Function, start-trivial-server: Internal functions
Function, stop-acceptor: Exported functions
Function, stringify-cookie: Internal functions
Function, test-document-directory: Internal functions
Function, test-handler: Internal functions
Function, text-type-p: Internal functions
Function, tmp-filename: Internal functions
Function, toot-warn: Internal functions
Function, trivial-handler: Internal functions
Function, unparse-content-type: Internal functions
Function, url-decode: Exported functions
Function, url-encode: Exported functions
Function, wait-for-free-connection: Internal functions
Function, write-cookies: Internal functions
Function, write-header-line: Internal functions
Function, write-headers: Internal functions
Function, write-line-crlf: Internal functions
Function, write-simple-response: Internal functions
Function, write-status-line: Internal functions

G
generate-error-page: Exported generic functions
generate-error-page: Exported generic functions
generate-error-page: Exported generic functions
Generic Function, (setf acceptor-process): Internal generic functions
Generic Function, (setf access-logger): Exported generic functions
Generic Function, (setf close-stream-p): Internal generic functions
Generic Function, (setf content-length): Exported generic functions
Generic Function, (setf content-stream): Internal generic functions
Generic Function, (setf content-type): Exported generic functions
Generic Function, (setf cookies-out): Internal generic functions
Generic Function, (setf domain): Internal generic functions
Generic Function, (setf error-generator): Exported generic functions
Generic Function, (setf expires): Internal generic functions
Generic Function, (setf handler): Exported generic functions
Generic Function, (setf handlers): Internal generic functions
Generic Function, (setf headers-sent-p): Internal generic functions
Generic Function, (setf http-only): Internal generic functions
Generic Function, (setf listen-socket): Internal generic functions
Generic Function, (setf message-logger): Exported generic functions
Generic Function, (setf path): Internal generic functions
Generic Function, (setf path-checker): Internal generic functions
Generic Function, (setf persistent-connections-p): Exported generic functions
Generic Function, (setf requests-in-progress): Internal generic functions
Generic Function, (setf response-charset): Internal generic functions
Generic Function, (setf response-headers): Internal generic functions
Generic Function, (setf root): Internal generic functions
Generic Function, (setf secure): Internal generic functions
Generic Function, (setf shutdown-lock): Internal generic functions
Generic Function, (setf shutdown-p): Internal generic functions
Generic Function, (setf shutdown-queue): Internal generic functions
Generic Function, (setf status-code): Exported generic functions
Generic Function, (setf taskmaster-max-accept-count): Internal generic functions
Generic Function, (setf taskmaster-max-thread-count): Internal generic functions
Generic Function, (setf taskmaster-request-count): Internal generic functions
Generic Function, (setf taskmaster-worker-thread-name-format): Internal generic functions
Generic Function, (setf tmp-files): Internal generic functions
Generic Function, (setf value): Internal generic functions
Generic Function, acceptor: Exported generic functions
Generic Function, acceptor-process: Internal generic functions
Generic Function, access-logger: Exported generic functions
Generic Function, address: Exported generic functions
Generic Function, body: Internal generic functions
Generic Function, body-octets: Exported generic functions
Generic Function, body-stream: Exported generic functions
Generic Function, close-stream-p: Internal generic functions
Generic Function, content-length: Exported generic functions
Generic Function, content-stream: Internal generic functions
Generic Function, content-type: Exported generic functions
Generic Function, cookies-in: Exported generic functions
Generic Function, cookies-out: Internal generic functions
Generic Function, destination: Internal generic functions
Generic Function, domain: Internal generic functions
Generic Function, error-generator: Exported generic functions
Generic Function, execute-acceptor: Internal generic functions
Generic Function, expires: Internal generic functions
Generic Function, generate-error-page: Exported generic functions
Generic Function, get-parameters: Exported generic functions
Generic Function, handle-incoming-connection: Internal generic functions
Generic Function, handle-request: Exported generic functions
Generic Function, handler: Exported generic functions
Generic Function, handlers: Internal generic functions
Generic Function, headers-sent-p: Internal generic functions
Generic Function, http-only: Internal generic functions
Generic Function, listen-backlog: Internal generic functions
Generic Function, listen-socket: Internal generic functions
Generic Function, lock: Internal generic functions
Generic Function, log-access: Internal generic functions
Generic Function, log-message: Internal generic functions
Generic Function, maybe-invoke-debugger: Internal generic functions
Generic Function, message-logger: Exported generic functions
Generic Function, name: Exported generic functions
Generic Function, operation: Internal generic functions
Generic Function, parse-header: Internal generic functions
Generic Function, parse-mime: Internal generic functions
Generic Function, path: Internal generic functions
Generic Function, path-checker: Internal generic functions
Generic Function, persistent-connections-p: Exported generic functions
Generic Function, port: Exported generic functions
Generic Function, post-parameters: Exported generic functions
Generic Function, read-timeout: Exported generic functions
Generic Function, remote-addr: Exported generic functions
Generic Function, remote-port: Exported generic functions
Generic Function, request-headers: Exported generic functions
Generic Function, request-method: Exported generic functions
Generic Function, request-uri: Exported generic functions
Generic Function, requests-in-progress: Internal generic functions
Generic Function, response-charset: Internal generic functions
Generic Function, response-headers: Internal generic functions
Generic Function, response-status-code: Internal generic functions
Generic Function, root: Internal generic functions
Generic Function, secure: Internal generic functions
Generic Function, server-protocol: Exported generic functions
Generic Function, shutdown: Internal generic functions
Generic Function, shutdown-lock: Internal generic functions
Generic Function, shutdown-p: Internal generic functions
Generic Function, shutdown-queue: Internal generic functions
Generic Function, ssl-certificate-file: Internal generic functions
Generic Function, ssl-private-key-file: Internal generic functions
Generic Function, ssl-private-key-password: Internal generic functions
Generic Function, status-code: Exported generic functions
Generic Function, taskmaster: Exported generic functions
Generic Function, taskmaster-max-accept-count: Internal generic functions
Generic Function, taskmaster-max-thread-count: Internal generic functions
Generic Function, taskmaster-request-count: Internal generic functions
Generic Function, taskmaster-request-count-lock: Internal generic functions
Generic Function, taskmaster-wait-lock: Internal generic functions
Generic Function, taskmaster-wait-queue: Internal generic functions
Generic Function, taskmaster-worker-thread-name-format: Internal generic functions
Generic Function, tmp-files: Internal generic functions
Generic Function, value: Internal generic functions
Generic Function, write-timeout: Exported generic functions
get-backtrace: Internal functions
get-file-name: Internal functions
get-parameter: Exported functions
get-parameters: Exported generic functions
get-parameters: Exported generic functions
get-peer-address-and-port: Internal functions
guess-mime-type: Internal functions

H
handle-if-modified-since: Exported functions
handle-incoming-connection: Internal generic functions
handle-incoming-connection: Internal generic functions
handle-incoming-connection: Internal generic functions
handle-range: Exported functions
handle-request: Exported generic functions
handle-request: Exported generic functions
handle-request: Exported generic functions
handle-request: Exported generic functions
handle-request: Exported generic functions
handle-request: Exported generic functions
handler: Exported generic functions
handler: Exported generic functions
handler-case*: Internal macros
handlers: Internal generic functions
handlers: Internal generic functions
header-name: Internal functions
header-parameters: Internal functions
header-value: Internal functions
headers-sent-p: Internal generic functions
headers-sent-p: Internal generic functions
http-only: Internal generic functions
http-only: Internal generic functions
http-token-p: Internal functions
hyperdoc-lookup: Internal functions

I
ignore-errors*: Internal macros
increment-taskmaster-request-count: Internal functions
internal-error: Internal functions
iso-time: Internal functions

K
keep-alive-p: Internal functions

L
length-known-p: Internal functions
listen-backlog: Internal generic functions
listen-backlog: Internal generic functions
listen-socket: Internal generic functions
listen-socket: Internal generic functions
listen-thread-name: Internal functions
lock: Internal generic functions
lock: Internal generic functions
log-access: Internal generic functions
log-access: Internal generic functions
log-access: Internal generic functions
log-message: Internal generic functions
log-message: Internal generic functions
log-message: Internal generic functions
log-message: Internal generic functions
log-message: Internal generic functions
lwsp-char-p: Internal functions

M
Macro, def-http-status-code: Internal macros
Macro, defconstant: Internal macros
Macro, handler-case*: Internal macros
Macro, ignore-errors*: Internal macros
Macro, upgrade-vector: Internal macros
Macro, with-debugger: Internal macros
Macro, with-response-body: Exported macros
make-content-type: Internal functions
make-exact-path-handler: Internal functions
make-header: Internal functions
make-header-stream: Internal functions
make-mime-part: Internal functions
make-search-handler: Internal functions
make-socket-stream: Internal functions
maybe-invoke-debugger: Internal generic functions
maybe-invoke-debugger: Internal generic functions
maybe-log-error: Internal functions
maybe-log-warning: Internal functions
message-logger: Exported generic functions
message-logger: Exported generic functions
Method, (setf acceptor-process): Internal generic functions
Method, (setf access-logger): Exported generic functions
Method, (setf close-stream-p): Internal generic functions
Method, (setf content-length): Exported generic functions
Method, (setf content-stream): Internal generic functions
Method, (setf content-type): Exported generic functions
Method, (setf cookies-out): Internal generic functions
Method, (setf domain): Internal generic functions
Method, (setf error-generator): Exported generic functions
Method, (setf expires): Internal generic functions
Method, (setf handler): Exported generic functions
Method, (setf handlers): Internal generic functions
Method, (setf headers-sent-p): Internal generic functions
Method, (setf http-only): Internal generic functions
Method, (setf listen-socket): Internal generic functions
Method, (setf message-logger): Exported generic functions
Method, (setf path): Internal generic functions
Method, (setf path-checker): Internal generic functions
Method, (setf persistent-connections-p): Exported generic functions
Method, (setf requests-in-progress): Internal generic functions
Method, (setf response-charset): Internal generic functions
Method, (setf response-headers): Internal generic functions
Method, (setf root): Internal generic functions
Method, (setf secure): Internal generic functions
Method, (setf shutdown-lock): Internal generic functions
Method, (setf shutdown-p): Internal generic functions
Method, (setf shutdown-queue): Internal generic functions
Method, (setf status-code): Exported generic functions
Method, (setf taskmaster-max-accept-count): Internal generic functions
Method, (setf taskmaster-max-thread-count): Internal generic functions
Method, (setf taskmaster-request-count): Internal generic functions
Method, (setf taskmaster-worker-thread-name-format): Internal generic functions
Method, (setf tmp-files): Internal generic functions
Method, (setf value): Internal generic functions
Method, acceptor: Exported generic functions
Method, acceptor-process: Internal generic functions
Method, access-logger: Exported generic functions
Method, address: Exported generic functions
Method, body: Internal generic functions
Method, body-octets: Exported generic functions
Method, body-octets: Exported generic functions
Method, body-stream: Exported generic functions
Method, body-stream: Exported generic functions
Method, close-stream-p: Internal generic functions
Method, content-length: Exported generic functions
Method, content-stream: Internal generic functions
Method, content-type: Exported generic functions
Method, cookies-in: Exported generic functions
Method, cookies-out: Internal generic functions
Method, destination: Internal generic functions
Method, domain: Internal generic functions
Method, error-generator: Exported generic functions
Method, execute-acceptor: Internal generic functions
Method, execute-acceptor: Internal generic functions
Method, expires: Internal generic functions
Method, generate-error-page: Exported generic functions
Method, generate-error-page: Exported generic functions
Method, get-parameters: Exported generic functions
Method, handle-incoming-connection: Internal generic functions
Method, handle-incoming-connection: Internal generic functions
Method, handle-request: Exported generic functions
Method, handle-request: Exported generic functions
Method, handle-request: Exported generic functions
Method, handle-request: Exported generic functions
Method, handle-request: Exported generic functions
Method, handler: Exported generic functions
Method, handlers: Internal generic functions
Method, headers-sent-p: Internal generic functions
Method, http-only: Internal generic functions
Method, listen-backlog: Internal generic functions
Method, listen-socket: Internal generic functions
Method, lock: Internal generic functions
Method, log-access: Internal generic functions
Method, log-access: Internal generic functions
Method, log-message: Internal generic functions
Method, log-message: Internal generic functions
Method, log-message: Internal generic functions
Method, log-message: Internal generic functions
Method, maybe-invoke-debugger: Internal generic functions
Method, message-logger: Exported generic functions
Method, name: Exported generic functions
Method, name: Exported generic functions
Method, operation: Internal generic functions
Method, parse-header: Internal generic functions
Method, parse-header: Internal generic functions
Method, parse-mime: Internal generic functions
Method, parse-mime: Internal generic functions
Method, path: Internal generic functions
Method, path-checker: Internal generic functions
Method, persistent-connections-p: Exported generic functions
Method, port: Exported generic functions
Method, post-parameters: Exported generic functions
Method, post-parameters: Exported generic functions
Method, read-timeout: Exported generic functions
Method, remote-addr: Exported generic functions
Method, remote-port: Exported generic functions
Method, request-headers: Exported generic functions
Method, request-method: Exported generic functions
Method, request-uri: Exported generic functions
Method, requests-in-progress: Internal generic functions
Method, response-charset: Internal generic functions
Method, response-headers: Internal generic functions
Method, response-status-code: Internal generic functions
Method, root: Internal generic functions
Method, secure: Internal generic functions
Method, server-protocol: Exported generic functions
Method, shutdown: Internal generic functions
Method, shutdown: Internal generic functions
Method, shutdown-lock: Internal generic functions
Method, shutdown-p: Internal generic functions
Method, shutdown-queue: Internal generic functions
Method, ssl-certificate-file: Internal generic functions
Method, ssl-private-key-file: Internal generic functions
Method, ssl-private-key-password: Internal generic functions
Method, status-code: Exported generic functions
Method, taskmaster: Exported generic functions
Method, taskmaster-max-accept-count: Internal generic functions
Method, taskmaster-max-thread-count: Internal generic functions
Method, taskmaster-request-count: Internal generic functions
Method, taskmaster-request-count-lock: Internal generic functions
Method, taskmaster-wait-lock: Internal generic functions
Method, taskmaster-wait-queue: Internal generic functions
Method, taskmaster-worker-thread-name-format: Internal generic functions
Method, tmp-files: Internal generic functions
Method, value: Internal generic functions
Method, write-timeout: Exported generic functions
mime-content-type: Internal functions
mime-part-contents: Internal functions
mime-part-headers: Internal functions

N
name: Exported generic functions
name: Exported generic functions
name: Exported generic functions
no-cache: Exported functions
not-implemented: Internal functions
notify-free-connection: Internal functions

O
operation: Internal generic functions
operation: Internal generic functions

P
parameter: Exported functions
parameter-error: Internal functions
parse-application/x-www-form-urlencoded: Internal functions
parse-content-type: Internal functions
parse-content-type-header: Internal functions
parse-cookies: Internal functions
parse-header: Internal generic functions
parse-header: Internal generic functions
parse-header: Internal generic functions
parse-mime: Internal generic functions
parse-mime: Internal generic functions
parse-mime: Internal generic functions
parse-multipart/form-data: Internal functions
parse-query-string: Internal functions
parse-rfc2388-form-data: Internal functions
path: Internal generic functions
path: Internal generic functions
path-checker: Internal generic functions
path-checker: Internal generic functions
persistent-connections-p: Exported generic functions
persistent-connections-p: Exported generic functions
port: Exported generic functions
port: Exported generic functions
possible-tmp-filename: Internal functions
post-parameter: Exported functions
post-parameters: Exported generic functions
post-parameters: Exported generic functions
post-parameters: Exported generic functions
printable-ascii-char-p: Internal functions
process-connection: Internal functions
process-request: Internal functions

Q
quote-string: Internal functions

R
read-body-octets: Internal functions
read-initial-request-line: Internal functions
read-post-parameters: Internal functions
read-request: Internal functions
read-timeout: Exported generic functions
read-timeout: Exported generic functions
read-until-next-boundary: Internal functions
real-remote-addr: Exported functions
reason-phrase: Exported functions
redirect: Exported functions
remote-addr: Exported generic functions
remote-addr: Exported generic functions
remote-port: Exported generic functions
remote-port: Exported generic functions
report-error-to-client: Internal functions
request-authority: Exported functions
request-body-stream: Internal functions
request-header: Exported functions
request-headers: Exported generic functions
request-headers: Exported generic functions
request-host: Exported functions
request-method: Exported generic functions
request-method: Exported generic functions
request-path: Exported functions
request-port: Exported functions
request-query: Exported functions
request-scheme: Exported functions
request-uri: Exported generic functions
request-uri: Exported generic functions
requests-in-progress: Internal generic functions
requests-in-progress: Internal generic functions
require-authorization: Exported functions
reset-test-handler: Internal functions
resolve-file: Internal functions
response-charset: Internal generic functions
response-charset: Internal generic functions
response-header: Exported functions
response-headers: Internal generic functions
response-headers: Internal generic functions
response-sent-p: Exported functions
response-status-code: Internal generic functions
response-status-code: Internal generic functions
rfc-1123-date: Internal functions
root: Internal generic functions
root: Internal generic functions

S
safe-pathname-p: Exported functions
sans: Internal functions
secure: Internal generic functions
secure: Internal generic functions
send-bad-request-response: Internal functions
send-headers: Exported functions
send-response: Internal functions
send-response-headers: Internal functions
send-service-unavailable-response: Internal functions
serve-file: Exported functions
server-protocol: Exported generic functions
server-protocol: Exported generic functions
set-cookie: Exported functions
set-timeouts: Internal functions
setup-ssl-stream: Internal functions
shutdown: Internal generic functions
shutdown: Internal generic functions
shutdown: Internal generic functions
shutdown-lock: Internal generic functions
shutdown-lock: Internal generic functions
shutdown-p: Internal generic functions
shutdown-p: Internal generic functions
shutdown-queue: Internal generic functions
shutdown-queue: Internal generic functions
skip-linear-whitespace: Internal functions
ssl-certificate-file: Internal generic functions
ssl-certificate-file: Internal generic functions
ssl-private-key-file: Internal generic functions
ssl-private-key-file: Internal generic functions
ssl-private-key-password: Internal generic functions
ssl-private-key-password: Internal generic functions
start-acceptor: Exported functions
start-server: Exported functions
start-test-server: Internal functions
start-trivial-server: Internal functions
status-code: Exported generic functions
status-code: Exported generic functions
stop-acceptor: Exported functions
stringify-cookie: Internal functions

T
taskmaster: Exported generic functions
taskmaster: Exported generic functions
taskmaster-max-accept-count: Internal generic functions
taskmaster-max-accept-count: Internal generic functions
taskmaster-max-thread-count: Internal generic functions
taskmaster-max-thread-count: Internal generic functions
taskmaster-request-count: Internal generic functions
taskmaster-request-count: Internal generic functions
taskmaster-request-count-lock: Internal generic functions
taskmaster-request-count-lock: Internal generic functions
taskmaster-wait-lock: Internal generic functions
taskmaster-wait-lock: Internal generic functions
taskmaster-wait-queue: Internal generic functions
taskmaster-wait-queue: Internal generic functions
taskmaster-worker-thread-name-format: Internal generic functions
taskmaster-worker-thread-name-format: Internal generic functions
test-document-directory: Internal functions
test-handler: Internal functions
text-type-p: Internal functions
tmp-filename: Internal functions
tmp-files: Internal generic functions
tmp-files: Internal generic functions
toot-warn: Internal functions
trivial-handler: Internal functions

U
unparse-content-type: Internal functions
upgrade-vector: Internal macros
url-decode: Exported functions
url-encode: Exported functions

V
value: Internal generic functions
value: Internal generic functions

W
wait-for-free-connection: Internal functions
with-debugger: Internal macros
with-response-body: Exported macros
write-cookies: Internal functions
write-header-line: Internal functions
write-headers: Internal functions
write-line-crlf: Internal functions
write-simple-response: Internal functions
write-status-line: Internal functions
write-timeout: Exported generic functions
write-timeout: Exported generic functions

Jump to:   (  
A   B   C   D   E   F   G   H   I   K   L   M   N   O   P   Q   R   S   T   U   V   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
A   B   C   D   E   G   H   L   M   N   O   P   R   S   T   V   W  
Index Entry  Section

*
*debug-errors-p*: Exported special variables
*default-charset*: Internal special variables
*default-connection-timeout*: Exported special variables
*default-content-type*: Exported special variables
*default-external-format*: Exported special variables
*default-logger*: Internal special variables
*default-max-accept-count*: Internal special variables
*default-max-thread-count*: Internal special variables
*error-css*: Internal special variables
*header-stream*: Exported special variables
*http-reason-phrase-map*: Internal special variables
*hyperdoc-base-uri*: Internal special variables
*lisp-errors-log-level*: Exported special variables
*lisp-warnings-log-level*: Exported special variables
*log-lisp-backtraces-p*: Exported special variables
*log-lisp-errors-p*: Exported special variables
*log-lisp-warnings-p*: Exported special variables
*mime-type-hash*: Internal special variables
*mime-type-list*: Internal special variables
*show-lisp-backtraces-p*: Exported special variables
*show-lisp-errors-p*: Exported special variables
*test-acceptor*: Internal special variables
*tmp-counter*: Internal special variables
*tmp-counter-lock*: Internal special variables
*tmp-directory*: Exported special variables
*toot-version*: Internal special variables

+
+buffer-length+: Internal constants
+crlf+: Internal constants
+day-names+: Internal constants
+http-accepted+: Exported constants
+http-authorization-required+: Exported constants
+http-bad-gateway+: Exported constants
+http-bad-request+: Exported constants
+http-conflict+: Exported constants
+http-continue+: Exported constants
+http-created+: Exported constants
+http-expectation-failed+: Exported constants
+http-failed-dependency+: Exported constants
+http-forbidden+: Exported constants
+http-gateway-time-out+: Exported constants
+http-gone+: Exported constants
+http-internal-server-error+: Exported constants
+http-length-required+: Exported constants
+http-method-not-allowed+: Exported constants
+http-moved-permanently+: Exported constants
+http-moved-temporarily+: Exported constants
+http-multi-status+: Exported constants
+http-multiple-choices+: Exported constants
+http-no-content+: Exported constants
+http-non-authoritative-information+: Exported constants
+http-not-acceptable+: Exported constants
+http-not-found+: Exported constants
+http-not-implemented+: Exported constants
+http-not-modified+: Exported constants
+http-ok+: Exported constants
+http-partial-content+: Exported constants
+http-payment-required+: Exported constants
+http-precondition-failed+: Exported constants
+http-proxy-authentication-required+: Exported constants
+http-request-entity-too-large+: Exported constants
+http-request-time-out+: Exported constants
+http-request-uri-too-large+: Exported constants
+http-requested-range-not-satisfiable+: Exported constants
+http-reset-content+: Exported constants
+http-see-other+: Exported constants
+http-service-unavailable+: Exported constants
+http-switching-protocols+: Exported constants
+http-temporary-redirect+: Exported constants
+http-unsupported-media-type+: Exported constants
+http-use-proxy+: Exported constants
+http-version-not-supported+: Exported constants
+implementation-link+: Internal constants
+latin-1+: Internal constants
+month-names+: Internal constants
+new-connection-wait-time+: Internal constants
+toot-project-url+: Internal constants
+utf-8+: Internal constants

A
acceptor: Internal classes
acceptor-process: Internal classes
access-loggger: Exported classes
address: Exported classes

B
body: Internal conditions
body-octets: Internal classes
body-stream: Internal classes

C
close-stream-p: Internal classes
Constant, +buffer-length+: Internal constants
Constant, +crlf+: Internal constants
Constant, +day-names+: Internal constants
Constant, +http-accepted+: Exported constants
Constant, +http-authorization-required+: Exported constants
Constant, +http-bad-gateway+: Exported constants
Constant, +http-bad-request+: Exported constants
Constant, +http-conflict+: Exported constants
Constant, +http-continue+: Exported constants
Constant, +http-created+: Exported constants
Constant, +http-expectation-failed+: Exported constants
Constant, +http-failed-dependency+: Exported constants
Constant, +http-forbidden+: Exported constants
Constant, +http-gateway-time-out+: Exported constants
Constant, +http-gone+: Exported constants
Constant, +http-internal-server-error+: Exported constants
Constant, +http-length-required+: Exported constants
Constant, +http-method-not-allowed+: Exported constants
Constant, +http-moved-permanently+: Exported constants
Constant, +http-moved-temporarily+: Exported constants
Constant, +http-multi-status+: Exported constants
Constant, +http-multiple-choices+: Exported constants
Constant, +http-no-content+: Exported constants
Constant, +http-non-authoritative-information+: Exported constants
Constant, +http-not-acceptable+: Exported constants
Constant, +http-not-found+: Exported constants
Constant, +http-not-implemented+: Exported constants
Constant, +http-not-modified+: Exported constants
Constant, +http-ok+: Exported constants
Constant, +http-partial-content+: Exported constants
Constant, +http-payment-required+: Exported constants
Constant, +http-precondition-failed+: Exported constants
Constant, +http-proxy-authentication-required+: Exported constants
Constant, +http-request-entity-too-large+: Exported constants
Constant, +http-request-time-out+: Exported constants
Constant, +http-request-uri-too-large+: Exported constants
Constant, +http-requested-range-not-satisfiable+: Exported constants
Constant, +http-reset-content+: Exported constants
Constant, +http-see-other+: Exported constants
Constant, +http-service-unavailable+: Exported constants
Constant, +http-switching-protocols+: Exported constants
Constant, +http-temporary-redirect+: Exported constants
Constant, +http-unsupported-media-type+: Exported constants
Constant, +http-use-proxy+: Exported constants
Constant, +http-version-not-supported+: Exported constants
Constant, +implementation-link+: Internal constants
Constant, +latin-1+: Internal constants
Constant, +month-names+: Internal constants
Constant, +new-connection-wait-time+: Internal constants
Constant, +toot-project-url+: Internal constants
Constant, +utf-8+: Internal constants
content-length: Internal classes
content-stream: Internal classes
content-type: Internal classes
cookies-in: Internal classes
cookies-out: Internal classes

D
destination: Exported classes
domain: Internal classes

E
error-generator: Exported classes
expires: Internal classes

G
get-parameters: Internal classes

H
handler: Exported classes
handlers: Internal classes
headers-sent-p: Internal classes
http-only: Internal classes

L
listen-backlog: Exported classes
listen-socket: Exported classes
lock: Exported classes

M
max-accept-count: Internal classes
max-thread-count: Internal classes
message-logger: Exported classes

N
name: Exported classes
name: Internal classes

O
operation: Internal conditions

P
path: Internal classes
path-checker: Exported classes
persistent-connections-p: Exported classes
port: Exported classes
post-parameters: Internal classes

R
read-timeout: Exported classes
remote-addr: Internal classes
remote-port: Internal classes
request-count: Internal classes
request-count-lock: Internal classes
request-headers: Internal classes
request-method: Internal classes
request-uri: Internal classes
requests-in-progress: Exported classes
response-charset: Internal classes
response-headers: Internal classes
response-status-code: Internal conditions
root: Exported classes

S
secure: Internal classes
server-protocol: Internal classes
shutdown-lock: Exported classes
shutdown-p: Exported classes
shutdown-queue: Exported classes
Slot, acceptor: Internal classes
Slot, acceptor-process: Internal classes
Slot, access-loggger: Exported classes
Slot, address: Exported classes
Slot, body: Internal conditions
Slot, body-octets: Internal classes
Slot, body-stream: Internal classes
Slot, close-stream-p: Internal classes
Slot, content-length: Internal classes
Slot, content-stream: Internal classes
Slot, content-type: Internal classes
Slot, cookies-in: Internal classes
Slot, cookies-out: Internal classes
Slot, destination: Exported classes
Slot, domain: Internal classes
Slot, error-generator: Exported classes
Slot, expires: Internal classes
Slot, get-parameters: Internal classes
Slot, handler: Exported classes
Slot, handlers: Internal classes
Slot, headers-sent-p: Internal classes
Slot, http-only: Internal classes
Slot, listen-backlog: Exported classes
Slot, listen-socket: Exported classes
Slot, lock: Exported classes
Slot, max-accept-count: Internal classes
Slot, max-thread-count: Internal classes
Slot, message-logger: Exported classes
Slot, name: Exported classes
Slot, name: Internal classes
Slot, operation: Internal conditions
Slot, path: Internal classes
Slot, path-checker: Exported classes
Slot, persistent-connections-p: Exported classes
Slot, port: Exported classes
Slot, post-parameters: Internal classes
Slot, read-timeout: Exported classes
Slot, remote-addr: Internal classes
Slot, remote-port: Internal classes
Slot, request-count: Internal classes
Slot, request-count-lock: Internal classes
Slot, request-headers: Internal classes
Slot, request-method: Internal classes
Slot, request-uri: Internal classes
Slot, requests-in-progress: Exported classes
Slot, response-charset: Internal classes
Slot, response-headers: Internal classes
Slot, response-status-code: Internal conditions
Slot, root: Exported classes
Slot, secure: Internal classes
Slot, server-protocol: Internal classes
Slot, shutdown-lock: Exported classes
Slot, shutdown-p: Exported classes
Slot, shutdown-queue: Exported classes
Slot, ssl-certificate-file: Exported classes
Slot, ssl-private-key-file: Exported classes
Slot, ssl-private-key-password: Exported classes
Slot, status-code: Internal classes
Slot, taskmaster: Exported classes
Slot, tmp-files: Internal classes
Slot, value: Internal classes
Slot, wait-lock: Internal classes
Slot, wait-queue: Internal classes
Slot, worker-thread-name-format: Internal classes
Slot, write-timeout: Exported classes
Special Variable, *debug-errors-p*: Exported special variables
Special Variable, *default-charset*: Internal special variables
Special Variable, *default-connection-timeout*: Exported special variables
Special Variable, *default-content-type*: Exported special variables
Special Variable, *default-external-format*: Exported special variables
Special Variable, *default-logger*: Internal special variables
Special Variable, *default-max-accept-count*: Internal special variables
Special Variable, *default-max-thread-count*: Internal special variables
Special Variable, *error-css*: Internal special variables
Special Variable, *header-stream*: Exported special variables
Special Variable, *http-reason-phrase-map*: Internal special variables
Special Variable, *hyperdoc-base-uri*: Internal special variables
Special Variable, *lisp-errors-log-level*: Exported special variables
Special Variable, *lisp-warnings-log-level*: Exported special variables
Special Variable, *log-lisp-backtraces-p*: Exported special variables
Special Variable, *log-lisp-errors-p*: Exported special variables
Special Variable, *log-lisp-warnings-p*: Exported special variables
Special Variable, *mime-type-hash*: Internal special variables
Special Variable, *mime-type-list*: Internal special variables
Special Variable, *show-lisp-backtraces-p*: Exported special variables
Special Variable, *show-lisp-errors-p*: Exported special variables
Special Variable, *test-acceptor*: Internal special variables
Special Variable, *tmp-counter*: Internal special variables
Special Variable, *tmp-counter-lock*: Internal special variables
Special Variable, *tmp-directory*: Exported special variables
Special Variable, *toot-version*: Internal special variables
ssl-certificate-file: Exported classes
ssl-private-key-file: Exported classes
ssl-private-key-password: Exported classes
status-code: Internal classes

T
taskmaster: Exported classes
tmp-files: Internal classes

V
value: Internal classes

W
wait-lock: Internal classes
wait-queue: Internal classes
worker-thread-name-format: Internal classes
write-timeout: Exported classes

Jump to:   *   +  
A   B   C   D   E   G   H   L   M   N   O   P   R   S   T   V   W  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   C   O   P   R   S   T  
Index Entry  Section

A
acceptor: Exported classes

C
Class, acceptor: Exported classes
Class, cookie: Internal classes
Class, request: Internal classes
Class, search-handler: Internal classes
Class, single-threaded-taskmaster: Internal classes
Class, static-file-handler: Exported classes
Class, stream-logger: Exported classes
Class, thread-per-connection-taskmaster: Internal classes
Condition, operation-not-implemented: Internal conditions
Condition, parameter-error: Internal conditions
Condition, request-aborted: Internal conditions
Condition, toot-condition: Internal conditions
Condition, toot-error: Internal conditions
Condition, toot-simple-error: Internal conditions
Condition, toot-simple-warning: Internal conditions
Condition, toot-warning: Internal conditions
cookie: Internal classes

O
operation-not-implemented: Internal conditions

P
Package, toot: The toot package
Package, toot-asd: The toot-asd package
Package, toot-tests: The toot-tests package
parameter-error: Internal conditions

R
request: Internal classes
request-aborted: Internal conditions

S
search-handler: Internal classes
single-threaded-taskmaster: Internal classes
static-file-handler: Exported classes
stream-logger: Exported classes
System, toot: The toot system

T
thread-per-connection-taskmaster: Internal classes
toot: The toot system
toot: The toot package
toot-asd: The toot-asd package
toot-condition: Internal conditions
toot-error: Internal conditions
toot-simple-error: Internal conditions
toot-simple-warning: Internal conditions
toot-tests: The toot-tests package
toot-warning: Internal conditions

Jump to:   A   C   O   P   R   S   T