The house Reference Manual

Table of Contents

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

The house Reference Manual

This is the house Reference Manual, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:56:51 2018 GMT+0.


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

1 Introduction

:house

Minimal asynchronous Common Lisp web server

:house started out as part of the :deal project ("deal"? "house"? get it?). I hacked it out in an attempt to generalize it and use it other projects with similar objectives. It's intentionally minimal, single-threaded and stresses readability over efficiency both in its internals and in the interfacing code it requires.

News

Installation

Usage

Quick start
(define-handler (hello-world :content-type "text/plain") ()
  "Hello world!")
(define-handler (hello-you/-name=string) ()
  (format nil "Hello there, ~a!" name))
(house:start 4040)

You should then be able to hop over to a browser and visit http://localhost:4040/hello-world to see the plaintext "Hello world!" response, or http:localhost:4040/hello-you/James to see the plaintext "Hello there, James!" (this may or may not make sense to do, depending on whether your name is James).

Threaded quick start

Because :house is single-threaded, using house:start directly as above will monopolize your REPL. You might not care about that in certain circumstances, or perhaps your deployment environment can't afford the extra thread. If you do and it can, you should start :house in a separate thread to retain your ability to evaluate things against the running system. You can do that the usual way:

(defparameter *server* (bordeaux-threads:make-thread (lambda () (house:start 4040))))
Static Files

House is not a file server. Static file serving capability is provided for ease of testing, and maybe for very small-scale deployment. If you're going to be taking any significant traffic, get a reverse proxy going with something like nginx.

You can define a static file handler with

(define-file-handler [file-or-directory])

It'll handle individual files by serving them, and it'll handle directories by serving all contained files recursively.

Redirecting

You can set up re-directors with

(define-redirect-handler (name :permanent? t) "/static/name.html")

Requests for "/name" will now instead serve a 301 Moved Permanently response with a target of "/static/name.html" (if you leave out :permanent? t, it'll be a 307 Temporary Redirect instead). House isn't optimized for redirecting, either from the performance or the notation perspective. If you're going to be re-directing any significant number of pages, consider having your reverse proxy handling that too.

Using the type annotations

You can specify desired argument types for your handlers. For example:

(define-handler (handler) ((foo :json) (bar :integer)))
   ...)

You can then use bar as an integer and foo as a parsed JSON s-expression in the body of that handler. The built-in types are :string, :integer, :json, :keyword, :list-of-keyword and :list-of-integer. If you need a more specific type, you can use define-http-type. For example:

(define-http-type (:game)
     :type-expression `(gethash ,parameter *game-table*)
     :type-assertion `(typep ,parameter 'game))

Once that's done, you can annotate parameters with the :game label.

(define-handler (handler) ((foo :game) ...) ...)

foo will then be looked up in *game-table*, and assert-http-ed to be of type 'game before the handler body is evaluated.

It's also possible to enforce arbitrary properties of parsed parameters. For instance

(define-handler (handler) ((foo :integer (>= 64 foo 2) (evenp foo)))
   ...)

ensures that foo will be an even integer between 2 and 64 (inclusive).

All this is entirely optional. If you don't care about it, just pass un-annotated arguments to your handlers, and they'll do exactly what you'd expect. You'll then be able to handle the type-conversion/assertions entirely manually.

External API

Basics

start

Takes a port-number and starts the server listening on that port.

Handlers

define-handler

Defines a handler. The handler body has access to three bound symbols in addition to its parameters:

Depending on the keyword parameter :close-socket?, it may or may not close the incoming TCP stream after it responds.

define-json-handler

Defines a closing handler that responds with "application/json", and automatically JSON-encodes its response.

define-redirect-handler

Defines a handler that sends either 301 or 307 HTTP responses (permanent redirect and temporary redirect respectively).

define-file-handler

Defines a handler that very inefficiently responds with static files.

Event Streams

subscribe!

Subscribes the specified socket to the specified channel. Should only be used with stream handlers, since the socket will need to be kept open for a subscription to be relevant.

publish!

Publishes a message to all subscribers of the specified channel.

The rest is still TODO.

Session

new-session!
new-session-hook!
clear-session-hooks!
get-session!
lookup

Handler types

define-http-type

Macro-symbols

parameter
restrictions
assert-http
root
sock
session
request

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 house

Author

Inaimathi <leo.zovic@gmail.com>

License

AGPL3

Description

Custom asynchronous HTTP server for the Deal project.

Dependencies
Source

house.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 house.asd

Location

house.asd

Systems

house (system)


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

3.1.2 house/package.lisp

Parent

house (system)

Location

package.lisp

Packages

house

Internal Definitions

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

3.1.3 house/model.lisp

Dependency

package.lisp (file)

Parent

house (system)

Location

model.lisp

Exported Definitions
Internal Definitions

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

3.1.4 house/handler-table.lisp

Dependency

model.lisp (file)

Parent

house (system)

Location

handler-table.lisp

Internal Definitions

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

3.1.5 house/util.lisp

Dependency

handler-table.lisp (file)

Parent

house (system)

Location

util.lisp

Exported Definitions
Internal Definitions

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

3.1.6 house/define-handler.lisp

Dependency

util.lisp (file)

Parent

house (system)

Location

define-handler.lisp

Exported Definitions
Internal Definitions

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

3.1.7 house/session.lisp

Dependency

define-handler.lisp (file)

Parent

house (system)

Location

session.lisp

Exported Definitions
Internal Definitions

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

3.1.8 house/house.lisp

Dependency

session.lisp (file)

Parent

house (system)

Location

house.lisp

Exported Definitions
Internal Definitions

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

3.1.9 house/unit-tests.lisp

Dependency

house.lisp (file)

Parent

house (system)

Location

unit-tests.lisp

Internal Definitions

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

4 Packages

Packages are listed by definition order.


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

4.1 house

Source

package.lisp (file)

Use List
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 Macros

Macro: assert-http ASSERTION
Package

house

Source

model.lisp (file)

Macro: define-handler (NAME &key CLOSE-SOCKET? CONTENT-TYPE METHOD) (&rest ARGS) &body BODY
Package

house

Source

define-handler.lisp (file)

Macro: define-http-type (TYPE &key PRIORITY) &key TYPE-EXPRESSION TYPE-ASSERTION
Package

house

Source

define-handler.lisp (file)

Macro: define-json-handler (NAME &key METHOD) (&rest ARGS) &body BODY
Package

house

Source

define-handler.lisp (file)

Macro: define-redirect-handler (NAME &key PERMANENT? METHOD) TARGET
Package

house

Source

define-handler.lisp (file)


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

5.1.2 Functions

Function: clear-session-hooks! ()
Package

house

Source

session.lisp (file)

Function: get-session! TOKEN
Package

house

Source

session.lisp (file)

Function: make-sse DATA &key ID EVENT RETRY
Package

house

Source

house.lisp (file)

Function: new-session! ()
Package

house

Source

session.lisp (file)

Function: redirect! TARGET &key PERMANENT?
Package

house

Source

define-handler.lisp (file)


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

5.1.3 Generic functions

Generic Function: define-file-handler PATH &key STEM-FROM METHOD
Package

house

Methods
Method: define-file-handler (PATH string) &key STEM-FROM
Source

define-handler.lisp (file)

Method: define-file-handler (PATH pathname) &key STEM-FROM METHOD
Source

define-handler.lisp (file)

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

house

Methods
Method: headers (RESPONSE response)

automatically generated reader method

Source

model.lisp (file)

Method: (setf headers) NEW-VALUE (RESPONSE response)

automatically generated writer method

Source

model.lisp (file)

Method: headers (REQUEST request)

automatically generated reader method

Source

model.lisp (file)

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

automatically generated writer method

Source

model.lisp (file)

Generic Function: lookup KEY HASH
Package

house

Writer

(setf lookup) (generic function)

Methods
Method: lookup KEY (SESSION session)
Source

util.lisp (file)

Method: lookup KEY (HASH hash-table)
Source

util.lisp (file)

Generic Function: (setf lookup) NEW-VALUE KEY SESSION

Setter for lookup methods

Package

house

Source

util.lisp (file)

Reader

lookup (generic function)

Methods
Method: (setf lookup) NEW-VALUE KEY (HASH hash-table)
Method: (setf lookup) NEW-VALUE KEY (SESSION session)
Generic Function: new-session-hook! CALLBACK
Package

house

Methods
Method: new-session-hook! (CALLBACK function)
Source

session.lisp (file)

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

house

Methods
Method: parameters (REQUEST request)

automatically generated reader method

Source

model.lisp (file)

Method: (setf parameters) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

model.lisp (file)

Generic Function: path->uri PATH &key STEM-FROM
Package

house

Methods
Method: path->uri (PATH pathname) &key STEM-FROM
Source

util.lisp (file)

Generic Function: publish! CHANNEL MESSAGE
Package

house

Methods
Method: publish! (CHANNEL symbol) (MESSAGE string)
Source

house.lisp (file)

Method: publish! (CHANNEL symbol) (MESSAGE sse)
Source

house.lisp (file)

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

house

Methods
Method: request (BUFFER buffer)

automatically generated reader method

Source

model.lisp (file)

Method: (setf request) NEW-VALUE (BUFFER buffer)

automatically generated writer method

Source

model.lisp (file)

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

house

Methods
Method: resource (REQUEST request)

automatically generated reader method

Source

model.lisp (file)

Method: (setf resource) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

model.lisp (file)

Generic Function: session-tokens OBJECT
Generic Function: (setf session-tokens) NEW-VALUE OBJECT
Package

house

Methods
Method: session-tokens (REQUEST request)

automatically generated reader method

Source

model.lisp (file)

Method: (setf session-tokens) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

model.lisp (file)

Generic Function: start PORT &optional HOST
Package

house

Methods
Method: start (PORT integer) &optional HOST
Source

house.lisp (file)

Generic Function: subscribe! CHANNEL SOCK
Package

house

Methods
Method: subscribe! (CHANNEL symbol) (SOCK usocket)
Source

house.lisp (file)


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

5.1.4 Classes

Class: request ()
Package

house

Source

model.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: http-method
Initargs

:http-method

Readers

http-method (generic function)

Writers

(setf http-method) (generic function)

Slot: resource
Initargs

:resource

Readers

resource (generic function)

Writers

(setf resource) (generic function)

Slot: headers
Initargs

:headers

Readers

headers (generic function)

Writers

(setf headers) (generic function)

Slot: session-tokens
Initargs

:session-tokens

Readers

session-tokens (generic function)

Writers

(setf session-tokens) (generic function)

Slot: parameters
Initargs

:parameters

Readers

parameters (generic function)

Writers

(setf parameters) (generic function)

Class: session ()
Package

house

Source

model.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: started
Initform

(get-universal-time)

Readers

started (generic function)

Slot: last-poked
Initform

(get-universal-time)

Slot: token
Initargs

:token

Readers

token (generic function)

Slot: session-values
Initform

(make-hash-table :test (quote equal))

Readers

session-values (generic function)


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

5.2 Internal definitions


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

5.2.1 Special variables

Special Variable: *channels*
Package

house

Source

house.lisp (file)

Special Variable: *cookie-domains*
Package

house

Source

package.lisp (file)

Special Variable: *handler-table*
Package

house

Source

handler-table.lisp (file)

Special Variable: *http-type-priority*

Priority table for all parameter types.
Types will be parsed from highest to lowest priority;
parameters with a lower priority can refer to parameters of a higher priority.

Package

house

Source

define-handler.lisp (file)

Special Variable: *mimetype-table*
Package

house

Source

util.lisp (file)

Special Variable: *new-session-hook*
Package

house

Source

session.lisp (file)

Special Variable: *sessions*
Package

house

Source

session.lisp (file)

Special Variable: +400+
Package

house

Source

model.lisp (file)

Special Variable: +404+
Package

house

Source

model.lisp (file)

Special Variable: +413+
Package

house

Source

model.lisp (file)

Special Variable: +500+
Package

house

Source

model.lisp (file)

Special Variable: +clean-sessions-every+
Package

house

Source

package.lisp (file)

Special Variable: +max-buffer-tries+
Package

house

Source

package.lisp (file)

Special Variable: +max-request-age+
Package

house

Source

package.lisp (file)

Special Variable: +max-request-size+
Package

house

Source

package.lisp (file)

Special Variable: +max-session-idle+
Package

house

Source

package.lisp (file)


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

5.2.2 Macros

Macro: make-closing-handler (&key CONTENT-TYPE) (&rest ARGS) &body BODY
Package

house

Source

define-handler.lisp (file)

Macro: make-stream-handler (&rest ARGS) &body BODY
Package

house

Source

define-handler.lisp (file)

Macro: with-handler-table TBL &body BODY
Package

house

Source

handler-table.lisp (file)


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

5.2.3 Functions

Function: any-vars? TRIE
Package

house

Source

handler-table.lisp (file)

Function: arg-exp ARG-SYM
Package

house

Source

define-handler.lisp (file)

Function: args-by-type-priority ARGS &optional PRIORITY-TABLE
Package

house

Source

define-handler.lisp (file)

Function: arguments ARGS BODY
Package

house

Source

define-handler.lisp (file)

Function: check-for-dupes FULL-PARAMS
Package

house

Source

define-handler.lisp (file)

Function: clean-sessions! ()
Package

house

Source

session.lisp (file)

Function: copy-trie INSTANCE
Package

house

Source

handler-table.lisp (file)

Function: crlf &optional STREAM
Package

house

Source

house.lisp (file)

Function: debug! &optional STREAM
Package

house

Source

util.lisp (file)

Function: empty ()
Package

house

Source

handler-table.lisp (file)

Function: find-handler METHOD URI-STRING &key HANDLER-TABLE
Package

house

Source

handler-table.lisp (file)

Function: flex-stream SOCK
Package

house

Source

util.lisp (file)

Function: idling? SESS
Package

house

Source

session.lisp (file)

Function: insert-handler! URI HANDLER-FN &key HANDLER-TABLE
Package

house

Source

handler-table.lisp (file)

Function: line-terminated? LST
Package

house

Source

house.lisp (file)

Function: make-trie &key (VALUE VALUE) (MAP MAP) (VARS VARS)
Package

house

Source

handler-table.lisp (file)

Function: new-session-token! ()
Package

house

Source

session.lisp (file)

Function: parse-var STR
Package

house

Source

define-handler.lisp (file)

Function: path-var? STR
Package

house

Source

handler-table.lisp (file)

Function: split-at ELEM SEQ
Package

house

Source

util.lisp (file)

Function: trie-insert! KEY VALUE TRIE
Package

house

Source

handler-table.lisp (file)

Function: trie-lookup KEY TRIE
Package

house

Source

handler-table.lisp (file)

Function: trie-map INSTANCE
Function: (setf trie-map) VALUE INSTANCE
Package

house

Source

handler-table.lisp (file)

Function: trie-p OBJECT
Package

house

Source

handler-table.lisp (file)

Function: trie-value INSTANCE
Function: (setf trie-value) VALUE INSTANCE
Package

house

Source

handler-table.lisp (file)

Function: trie-vars INSTANCE
Function: (setf trie-vars) VALUE INSTANCE
Package

house

Source

handler-table.lisp (file)

Function: var-key STR
Package

house

Source

handler-table.lisp (file)

Function: write-ln STREAM &rest SEQUENCES
Package

house

Source

house.lisp (file)


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

5.2.4 Generic functions

Generic Function: ->keyword THING
Package

house

Methods
Method: ->keyword (THING string)
Source

util.lisp (file)

Method: ->keyword (THING symbol)
Source

util.lisp (file)

Method: ->keyword (THING null)
Source

util.lisp (file)

Generic Function: assertion CONDITION
Package

house

Methods
Method: assertion (CONDITION http-assertion-error)
Source

model.lisp (file)

Generic Function: bi-stream OBJECT
Package

house

Methods
Method: bi-stream (BUFFER buffer)

automatically generated reader method

Source

model.lisp (file)

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

house

Methods
Method: body (RESPONSE response)

automatically generated reader method

Source

model.lisp (file)

Method: (setf body) NEW-VALUE (RESPONSE response)

automatically generated writer method

Source

model.lisp (file)

Generic Function: buffer! BUFFER
Package

house

Methods
Method: buffer! (BUFFER buffer)
Source

house.lisp (file)

Generic Function: cache-control OBJECT
Generic Function: (setf cache-control) NEW-VALUE OBJECT
Package

house

Methods
Method: cache-control (RESPONSE response)

automatically generated reader method

Source

model.lisp (file)

Method: (setf cache-control) NEW-VALUE (RESPONSE response)

automatically generated writer method

Source

model.lisp (file)

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

house

Methods
Method: charset (RESPONSE response)

automatically generated reader method

Source

model.lisp (file)

Method: (setf charset) NEW-VALUE (RESPONSE response)

automatically generated writer method

Source

model.lisp (file)

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

house

Methods
Method: content-type (RESPONSE response)

automatically generated reader method

Source

model.lisp (file)

Method: (setf content-type) NEW-VALUE (RESPONSE response)

automatically generated writer method

Source

model.lisp (file)

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

house

Methods
Method: contents (BUFFER buffer)

automatically generated reader method

Source

model.lisp (file)

Method: (setf contents) NEW-VALUE (BUFFER buffer)

automatically generated writer method

Source

model.lisp (file)

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

house

Methods
Method: cookie (RESPONSE response)

automatically generated reader method

Source

model.lisp (file)

Method: (setf cookie) NEW-VALUE (RESPONSE response)

automatically generated writer method

Source

model.lisp (file)

Generic Function: data OBJECT
Package

house

Methods
Method: data (SSE sse)

automatically generated reader method

Source

model.lisp (file)

Generic Function: error! ERR SOCK &optional INSTANCE
Package

house

Methods
Method: error! (ERR response) (SOCK usocket) &optional INSTANCE
Source

house.lisp (file)

Generic Function: event OBJECT
Package

house

Methods
Method: event (SSE sse)

automatically generated reader method

Source

model.lisp (file)

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

house

Methods
Method: expecting (BUFFER buffer)

automatically generated reader method

Source

model.lisp (file)

Method: (setf expecting) NEW-VALUE (BUFFER buffer)

automatically generated writer method

Source

model.lisp (file)

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

house

Methods
Method: expires (RESPONSE response)

automatically generated reader method

Source

model.lisp (file)

Method: (setf expires) NEW-VALUE (RESPONSE response)

automatically generated writer method

Source

model.lisp (file)

Generic Function: handle-request! SOCK REQ
Package

house

Methods
Method: handle-request! (SOCK usocket) (REQ request)
Source

house.lisp (file)

Generic Function: handlers OBJECT
Package

house

Methods
Method: handlers (HANDLER-TABLE handler-table)

automatically generated reader method

Source

handler-table.lisp (file)

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

house

Methods
Method: http-method (REQUEST request)

automatically generated reader method

Source

model.lisp (file)

Method: (setf http-method) NEW-VALUE (REQUEST request)

automatically generated writer method

Source

model.lisp (file)

Generic Function: id OBJECT
Package

house

Methods
Method: id (SSE sse)

automatically generated reader method

Source

model.lisp (file)

Generic Function: keep-alive? OBJECT
Generic Function: (setf keep-alive?) NEW-VALUE OBJECT
Package

house

Methods
Method: keep-alive? (RESPONSE response)

automatically generated reader method

Source

model.lisp (file)

Method: (setf keep-alive?) NEW-VALUE (RESPONSE response)

automatically generated writer method

Source

model.lisp (file)

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

house

Methods
Method: location (RESPONSE response)

automatically generated reader method

Source

model.lisp (file)

Method: (setf location) NEW-VALUE (RESPONSE response)

automatically generated writer method

Source

model.lisp (file)

Generic Function: parse STR
Package

house

Methods
Method: parse (BUF buffer)
Source

house.lisp (file)

Method: parse (STR string)
Source

house.lisp (file)

Generic Function: parse-cookies COOKIE
Package

house

Methods
Method: parse-cookies (COOKIE string)
Source

house.lisp (file)

Generic Function: parse-params CONTENT-TYPE PARAMS
Package

house

Methods
Method: parse-params (CONTENT-TYPE (eql application/json)) (PARAMS string)
Source

house.lisp (file)

Method: parse-params CONTENT-TYPE (PARAMS string)
Source

house.lisp (file)

Method: parse-params CONTENT-TYPE (PARAMS null)
Source

house.lisp (file)

Generic Function: path->mimetype PATH
Package

house

Methods
Method: path->mimetype (PATH pathname)
Source

util.lisp (file)

Generic Function: poke! SESS
Package

house

Methods
Method: poke! (SESS session)
Source

session.lisp (file)

Generic Function: process-ready READY CONNS
Package

house

Methods
Method: process-ready (READY stream-usocket) (CONNS hash-table)
Source

house.lisp (file)

Method: process-ready (READY stream-server-usocket) (CONNS hash-table)
Source

house.lisp (file)

Generic Function: process-uri URI
Package

house

Methods
Method: process-uri (URI symbol)
Source

handler-table.lisp (file)

Method: process-uri (URI string)
Source

handler-table.lisp (file)

Generic Function: read-all STREAM
Package

house

Methods
Method: read-all (STREAM stream)
Source

unit-tests.lisp (file)

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

house

Methods
Method: response-code (RESPONSE response)

automatically generated reader method

Source

model.lisp (file)

Method: (setf response-code) NEW-VALUE (RESPONSE response)

automatically generated writer method

Source

model.lisp (file)

Generic Function: retry OBJECT
Package

house

Methods
Method: retry (SSE sse)

automatically generated reader method

Source

model.lisp (file)

Generic Function: session-values OBJECT
Package

house

Methods
Method: session-values (SESSION session)

automatically generated reader method

Source

model.lisp (file)

Generic Function: started OBJECT
Package

house

Methods
Method: started (SESSION session)

automatically generated reader method

Source

model.lisp (file)

Method: started (BUFFER buffer)

automatically generated reader method

Source

model.lisp (file)

Generic Function: token OBJECT
Package

house

Methods
Method: token (SESSION session)

automatically generated reader method

Source

model.lisp (file)

Generic Function: total-buffered OBJECT
Generic Function: (setf total-buffered) NEW-VALUE OBJECT
Package

house

Methods
Method: total-buffered (BUFFER buffer)

automatically generated reader method

Source

model.lisp (file)

Method: (setf total-buffered) NEW-VALUE (BUFFER buffer)

automatically generated writer method

Source

model.lisp (file)

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

house

Methods
Method: tries (BUFFER buffer)

automatically generated reader method

Source

model.lisp (file)

Method: (setf tries) NEW-VALUE (BUFFER buffer)

automatically generated writer method

Source

model.lisp (file)

Generic Function: type-assertion PARAMETER TYPE

A lookup assertion is run on a parameter immediately after conversion. Use it to restrict the space of a particular parameter.

Package

house

Source

define-handler.lisp (file)

Methods
Method: type-assertion PARAMETER (TYPE (eql list-of-integer))
Method: type-assertion PARAMETER (TYPE (eql integer))
Method: type-assertion PARAMETER TYPE
Generic Function: type-expression PARAMETER TYPE

A type-expression will tell the server how to convert a parameter from a string to a particular, necessary type.

Package

house

Source

define-handler.lisp (file)

Methods
Method: type-expression PARAMETER (TYPE (eql list-of-integer))
Method: type-expression PARAMETER (TYPE (eql list-of-keyword))
Method: type-expression PARAMETER (TYPE (eql keyword))
Method: type-expression PARAMETER (TYPE (eql json))
Method: type-expression PARAMETER (TYPE (eql integer))
Method: type-expression PARAMETER TYPE
Generic Function: uri-decode THING
Package

house

Methods
Method: uri-decode (STRING string)
Source

util.lisp (file)

Method: uri-decode (THING null)
Source

util.lisp (file)

Generic Function: write! RES STREAM
Package

house

Methods
Method: write! (STRINGS list) (STREAM stream)
Source

unit-tests.lisp (file)

Method: write! (RES sse) (STREAM stream)
Source

house.lisp (file)

Method: write! (RES response) (STREAM stream)
Source

house.lisp (file)


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

5.2.5 Conditions

Condition: http-assertion-error ()
Package

house

Source

model.lisp (file)

Direct superclasses

error (condition)

Direct methods

assertion (method)

Direct slots
Slot: assertion
Initargs

:assertion

Initform

(quote nil)

Readers

assertion (generic function)


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

5.2.6 Structures

Structure: trie ()
Package

house

Source

handler-table.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: value
Readers

trie-value (function)

Writers

(setf trie-value) (function)

Slot: map
Initform

(make-hash-table :test (quote equal))

Readers

trie-map (function)

Writers

(setf trie-map) (function)

Slot: vars
Initform

(make-hash-table)

Readers

trie-vars (function)

Writers

(setf trie-vars) (function)


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

5.2.7 Classes

Class: buffer ()
Package

house

Source

model.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: tries
Initform

0

Readers

tries (generic function)

Writers

(setf tries) (generic function)

Slot: contents
Readers

contents (generic function)

Writers

(setf contents) (generic function)

Slot: bi-stream
Initargs

:bi-stream

Readers

bi-stream (generic function)

Slot: total-buffered
Initform

0

Readers

total-buffered (generic function)

Writers

(setf total-buffered) (generic function)

Slot: started
Initform

(get-universal-time)

Readers

started (generic function)

Slot: request
Readers

request (generic function)

Writers

(setf request) (generic function)

Slot: expecting
Initform

0

Readers

expecting (generic function)

Writers

(setf expecting) (generic function)

Class: handler-table ()
Package

house

Source

handler-table.lisp (file)

Direct superclasses

standard-object (class)

Direct methods

handlers (method)

Direct slots
Slot: handlers
Initargs

:handlers

Initform

(house::make-trie)

Readers

handlers (generic function)

Class: response ()
Package

house

Source

model.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: content-type
Initargs

:content-type

Initform

"text/html"

Readers

content-type (generic function)

Writers

(setf content-type) (generic function)

Slot: headers
Initargs

:headers

Readers

headers (generic function)

Writers

(setf headers) (generic function)

Slot: charset
Initform

"utf-8"

Readers

charset (generic function)

Writers

(setf charset) (generic function)

Slot: response-code
Initargs

:response-code

Initform

"200 ok"

Readers

response-code (generic function)

Writers

(setf response-code) (generic function)

Slot: cookie
Initargs

:cookie

Readers

cookie (generic function)

Writers

(setf cookie) (generic function)

Slot: location
Initargs

:location

Readers

location (generic function)

Writers

(setf location) (generic function)

Slot: cache-control
Readers

cache-control (generic function)

Writers

(setf cache-control) (generic function)

Slot: keep-alive?
Initargs

:keep-alive?

Readers

keep-alive? (generic function)

Writers

(setf keep-alive?) (generic function)

Slot: expires
Readers

expires (generic function)

Writers

(setf expires) (generic function)

Slot: body
Initargs

:body

Readers

body (generic function)

Writers

(setf body) (generic function)

Class: sse ()
Package

house

Source

model.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: id
Initargs

:id

Readers

id (generic function)

Slot: event
Initargs

:event

Readers

event (generic function)

Slot: retry
Initargs

:retry

Readers

retry (generic function)

Slot: data
Initargs

:data

Readers

data (generic function)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   F   H   L  
Index Entry  Section

F
File, Lisp, house.asd: The house<dot>asd file
File, Lisp, house/define-handler.lisp: The house/define-handler<dot>lisp file
File, Lisp, house/handler-table.lisp: The house/handler-table<dot>lisp file
File, Lisp, house/house.lisp: The house/house<dot>lisp file
File, Lisp, house/model.lisp: The house/model<dot>lisp file
File, Lisp, house/package.lisp: The house/package<dot>lisp file
File, Lisp, house/session.lisp: The house/session<dot>lisp file
File, Lisp, house/unit-tests.lisp: The house/unit-tests<dot>lisp file
File, Lisp, house/util.lisp: The house/util<dot>lisp file

H
house.asd: The house<dot>asd file
house/define-handler.lisp: The house/define-handler<dot>lisp file
house/handler-table.lisp: The house/handler-table<dot>lisp file
house/house.lisp: The house/house<dot>lisp file
house/model.lisp: The house/model<dot>lisp file
house/package.lisp: The house/package<dot>lisp file
house/session.lisp: The house/session<dot>lisp file
house/unit-tests.lisp: The house/unit-tests<dot>lisp file
house/util.lisp: The house/util<dot>lisp file

L
Lisp File, house.asd: The house<dot>asd file
Lisp File, house/define-handler.lisp: The house/define-handler<dot>lisp file
Lisp File, house/handler-table.lisp: The house/handler-table<dot>lisp file
Lisp File, house/house.lisp: The house/house<dot>lisp file
Lisp File, house/model.lisp: The house/model<dot>lisp file
Lisp File, house/package.lisp: The house/package<dot>lisp file
Lisp File, house/session.lisp: The house/session<dot>lisp file
Lisp File, house/unit-tests.lisp: The house/unit-tests<dot>lisp file
Lisp File, house/util.lisp: The house/util<dot>lisp file

Jump to:   F   H   L  

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

A.2 Functions

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

(
(setf body): Internal generic functions
(setf body): Internal generic functions
(setf cache-control): Internal generic functions
(setf cache-control): Internal generic functions
(setf charset): Internal generic functions
(setf charset): Internal generic functions
(setf content-type): Internal generic functions
(setf content-type): Internal generic functions
(setf contents): Internal generic functions
(setf contents): Internal generic functions
(setf cookie): Internal generic functions
(setf cookie): Internal generic functions
(setf expecting): Internal generic functions
(setf expecting): Internal generic functions
(setf expires): Internal generic functions
(setf expires): Internal generic functions
(setf headers): Exported generic functions
(setf headers): Exported generic functions
(setf headers): Exported generic functions
(setf http-method): Internal generic functions
(setf http-method): Internal generic functions
(setf keep-alive?): Internal generic functions
(setf keep-alive?): Internal generic functions
(setf location): Internal generic functions
(setf location): Internal generic functions
(setf lookup): Exported generic functions
(setf lookup): Exported generic functions
(setf lookup): Exported generic functions
(setf parameters): Exported generic functions
(setf parameters): Exported generic functions
(setf request): Exported generic functions
(setf request): Exported generic functions
(setf resource): Exported generic functions
(setf resource): Exported generic functions
(setf response-code): Internal generic functions
(setf response-code): Internal generic functions
(setf session-tokens): Exported generic functions
(setf session-tokens): Exported generic functions
(setf total-buffered): Internal generic functions
(setf total-buffered): Internal generic functions
(setf trie-map): Internal functions
(setf trie-value): Internal functions
(setf trie-vars): Internal functions
(setf tries): Internal generic functions
(setf tries): Internal generic functions

-
->keyword: Internal generic functions
->keyword: Internal generic functions
->keyword: Internal generic functions
->keyword: Internal generic functions

A
any-vars?: Internal functions
arg-exp: Internal functions
args-by-type-priority: Internal functions
arguments: Internal functions
assert-http: Exported macros
assertion: Internal generic functions
assertion: Internal generic functions

B
bi-stream: Internal generic functions
bi-stream: Internal generic functions
body: Internal generic functions
body: Internal generic functions
buffer!: Internal generic functions
buffer!: Internal generic functions

C
cache-control: Internal generic functions
cache-control: Internal generic functions
charset: Internal generic functions
charset: Internal generic functions
check-for-dupes: Internal functions
clean-sessions!: Internal functions
clear-session-hooks!: Exported functions
content-type: Internal generic functions
content-type: Internal generic functions
contents: Internal generic functions
contents: Internal generic functions
cookie: Internal generic functions
cookie: Internal generic functions
copy-trie: Internal functions
crlf: Internal functions

D
data: Internal generic functions
data: Internal generic functions
debug!: Internal functions
define-file-handler: Exported generic functions
define-file-handler: Exported generic functions
define-file-handler: Exported generic functions
define-handler: Exported macros
define-http-type: Exported macros
define-json-handler: Exported macros
define-redirect-handler: Exported macros

E
empty: Internal functions
error!: Internal generic functions
error!: Internal generic functions
event: Internal generic functions
event: Internal generic functions
expecting: Internal generic functions
expecting: Internal generic functions
expires: Internal generic functions
expires: Internal generic functions

F
find-handler: Internal functions
flex-stream: Internal functions
Function, (setf trie-map): Internal functions
Function, (setf trie-value): Internal functions
Function, (setf trie-vars): Internal functions
Function, any-vars?: Internal functions
Function, arg-exp: Internal functions
Function, args-by-type-priority: Internal functions
Function, arguments: Internal functions
Function, check-for-dupes: Internal functions
Function, clean-sessions!: Internal functions
Function, clear-session-hooks!: Exported functions
Function, copy-trie: Internal functions
Function, crlf: Internal functions
Function, debug!: Internal functions
Function, empty: Internal functions
Function, find-handler: Internal functions
Function, flex-stream: Internal functions
Function, get-session!: Exported functions
Function, idling?: Internal functions
Function, insert-handler!: Internal functions
Function, line-terminated?: Internal functions
Function, make-sse: Exported functions
Function, make-trie: Internal functions
Function, new-session!: Exported functions
Function, new-session-token!: Internal functions
Function, parse-var: Internal functions
Function, path-var?: Internal functions
Function, redirect!: Exported functions
Function, split-at: Internal functions
Function, trie-insert!: Internal functions
Function, trie-lookup: Internal functions
Function, trie-map: Internal functions
Function, trie-p: Internal functions
Function, trie-value: Internal functions
Function, trie-vars: Internal functions
Function, var-key: Internal functions
Function, write-ln: Internal functions

G
Generic Function, (setf body): Internal generic functions
Generic Function, (setf cache-control): Internal generic functions
Generic Function, (setf charset): Internal generic functions
Generic Function, (setf content-type): Internal generic functions
Generic Function, (setf contents): Internal generic functions
Generic Function, (setf cookie): Internal generic functions
Generic Function, (setf expecting): Internal generic functions
Generic Function, (setf expires): Internal generic functions
Generic Function, (setf headers): Exported generic functions
Generic Function, (setf http-method): Internal generic functions
Generic Function, (setf keep-alive?): Internal generic functions
Generic Function, (setf location): Internal generic functions
Generic Function, (setf lookup): Exported generic functions
Generic Function, (setf parameters): Exported generic functions
Generic Function, (setf request): Exported generic functions
Generic Function, (setf resource): Exported generic functions
Generic Function, (setf response-code): Internal generic functions
Generic Function, (setf session-tokens): Exported generic functions
Generic Function, (setf total-buffered): Internal generic functions
Generic Function, (setf tries): Internal generic functions
Generic Function, ->keyword: Internal generic functions
Generic Function, assertion: Internal generic functions
Generic Function, bi-stream: Internal generic functions
Generic Function, body: Internal generic functions
Generic Function, buffer!: Internal generic functions
Generic Function, cache-control: Internal generic functions
Generic Function, charset: Internal generic functions
Generic Function, content-type: Internal generic functions
Generic Function, contents: Internal generic functions
Generic Function, cookie: Internal generic functions
Generic Function, data: Internal generic functions
Generic Function, define-file-handler: Exported generic functions
Generic Function, error!: Internal generic functions
Generic Function, event: Internal generic functions
Generic Function, expecting: Internal generic functions
Generic Function, expires: Internal generic functions
Generic Function, handle-request!: Internal generic functions
Generic Function, handlers: Internal generic functions
Generic Function, headers: Exported generic functions
Generic Function, http-method: Internal generic functions
Generic Function, id: Internal generic functions
Generic Function, keep-alive?: Internal generic functions
Generic Function, location: Internal generic functions
Generic Function, lookup: Exported generic functions
Generic Function, new-session-hook!: Exported generic functions
Generic Function, parameters: Exported generic functions
Generic Function, parse: Internal generic functions
Generic Function, parse-cookies: Internal generic functions
Generic Function, parse-params: Internal generic functions
Generic Function, path->mimetype: Internal generic functions
Generic Function, path->uri: Exported generic functions
Generic Function, poke!: Internal generic functions
Generic Function, process-ready: Internal generic functions
Generic Function, process-uri: Internal generic functions
Generic Function, publish!: Exported generic functions
Generic Function, read-all: Internal generic functions
Generic Function, request: Exported generic functions
Generic Function, resource: Exported generic functions
Generic Function, response-code: Internal generic functions
Generic Function, retry: Internal generic functions
Generic Function, session-tokens: Exported generic functions
Generic Function, session-values: Internal generic functions
Generic Function, start: Exported generic functions
Generic Function, started: Internal generic functions
Generic Function, subscribe!: Exported generic functions
Generic Function, token: Internal generic functions
Generic Function, total-buffered: Internal generic functions
Generic Function, tries: Internal generic functions
Generic Function, type-assertion: Internal generic functions
Generic Function, type-expression: Internal generic functions
Generic Function, uri-decode: Internal generic functions
Generic Function, write!: Internal generic functions
get-session!: Exported functions

H
handle-request!: Internal generic functions
handle-request!: Internal generic functions
handlers: Internal generic functions
handlers: Internal generic functions
headers: Exported generic functions
headers: Exported generic functions
headers: Exported generic functions
http-method: Internal generic functions
http-method: Internal generic functions

I
id: Internal generic functions
id: Internal generic functions
idling?: Internal functions
insert-handler!: Internal functions

K
keep-alive?: Internal generic functions
keep-alive?: Internal generic functions

L
line-terminated?: Internal functions
location: Internal generic functions
location: Internal generic functions
lookup: Exported generic functions
lookup: Exported generic functions
lookup: Exported generic functions

M
Macro, assert-http: Exported macros
Macro, define-handler: Exported macros
Macro, define-http-type: Exported macros
Macro, define-json-handler: Exported macros
Macro, define-redirect-handler: Exported macros
Macro, make-closing-handler: Internal macros
Macro, make-stream-handler: Internal macros
Macro, with-handler-table: Internal macros
make-closing-handler: Internal macros
make-sse: Exported functions
make-stream-handler: Internal macros
make-trie: Internal functions
Method, (setf body): Internal generic functions
Method, (setf cache-control): Internal generic functions
Method, (setf charset): Internal generic functions
Method, (setf content-type): Internal generic functions
Method, (setf contents): Internal generic functions
Method, (setf cookie): Internal generic functions
Method, (setf expecting): Internal generic functions
Method, (setf expires): Internal generic functions
Method, (setf headers): Exported generic functions
Method, (setf headers): Exported generic functions
Method, (setf http-method): Internal generic functions
Method, (setf keep-alive?): Internal generic functions
Method, (setf location): Internal generic functions
Method, (setf lookup): Exported generic functions
Method, (setf lookup): Exported generic functions
Method, (setf parameters): Exported generic functions
Method, (setf request): Exported generic functions
Method, (setf resource): Exported generic functions
Method, (setf response-code): Internal generic functions
Method, (setf session-tokens): Exported generic functions
Method, (setf total-buffered): Internal generic functions
Method, (setf tries): Internal generic functions
Method, ->keyword: Internal generic functions
Method, ->keyword: Internal generic functions
Method, ->keyword: Internal generic functions
Method, assertion: Internal generic functions
Method, bi-stream: Internal generic functions
Method, body: Internal generic functions
Method, buffer!: Internal generic functions
Method, cache-control: Internal generic functions
Method, charset: Internal generic functions
Method, content-type: Internal generic functions
Method, contents: Internal generic functions
Method, cookie: Internal generic functions
Method, data: Internal generic functions
Method, define-file-handler: Exported generic functions
Method, define-file-handler: Exported generic functions
Method, error!: Internal generic functions
Method, event: Internal generic functions
Method, expecting: Internal generic functions
Method, expires: Internal generic functions
Method, handle-request!: Internal generic functions
Method, handlers: Internal generic functions
Method, headers: Exported generic functions
Method, headers: Exported generic functions
Method, http-method: Internal generic functions
Method, id: Internal generic functions
Method, keep-alive?: Internal generic functions
Method, location: Internal generic functions
Method, lookup: Exported generic functions
Method, lookup: Exported generic functions
Method, new-session-hook!: Exported generic functions
Method, parameters: Exported generic functions
Method, parse: Internal generic functions
Method, parse: Internal generic functions
Method, parse-cookies: Internal generic functions
Method, parse-params: Internal generic functions
Method, parse-params: Internal generic functions
Method, parse-params: Internal generic functions
Method, path->mimetype: Internal generic functions
Method, path->uri: Exported generic functions
Method, poke!: Internal generic functions
Method, process-ready: Internal generic functions
Method, process-ready: Internal generic functions
Method, process-uri: Internal generic functions
Method, process-uri: Internal generic functions
Method, publish!: Exported generic functions
Method, publish!: Exported generic functions
Method, read-all: Internal generic functions
Method, request: Exported generic functions
Method, resource: Exported generic functions
Method, response-code: Internal generic functions
Method, retry: Internal generic functions
Method, session-tokens: Exported generic functions
Method, session-values: Internal generic functions
Method, start: Exported generic functions
Method, started: Internal generic functions
Method, started: Internal generic functions
Method, subscribe!: Exported generic functions
Method, token: Internal generic functions
Method, total-buffered: Internal generic functions
Method, tries: Internal generic functions
Method, type-assertion: Internal generic functions
Method, type-assertion: Internal generic functions
Method, type-assertion: Internal generic functions
Method, type-expression: Internal generic functions
Method, type-expression: Internal generic functions
Method, type-expression: Internal generic functions
Method, type-expression: Internal generic functions
Method, type-expression: Internal generic functions
Method, type-expression: Internal generic functions
Method, uri-decode: Internal generic functions
Method, uri-decode: Internal generic functions
Method, write!: Internal generic functions
Method, write!: Internal generic functions
Method, write!: Internal generic functions

N
new-session!: Exported functions
new-session-hook!: Exported generic functions
new-session-hook!: Exported generic functions
new-session-token!: Internal functions

P
parameters: Exported generic functions
parameters: Exported generic functions
parse: Internal generic functions
parse: Internal generic functions
parse: Internal generic functions
parse-cookies: Internal generic functions
parse-cookies: Internal generic functions
parse-params: Internal generic functions
parse-params: Internal generic functions
parse-params: Internal generic functions
parse-params: Internal generic functions
parse-var: Internal functions
path->mimetype: Internal generic functions
path->mimetype: Internal generic functions
path->uri: Exported generic functions
path->uri: Exported generic functions
path-var?: Internal functions
poke!: Internal generic functions
poke!: Internal generic functions
process-ready: Internal generic functions
process-ready: Internal generic functions
process-ready: Internal generic functions
process-uri: Internal generic functions
process-uri: Internal generic functions
process-uri: Internal generic functions
publish!: Exported generic functions
publish!: Exported generic functions
publish!: Exported generic functions

R
read-all: Internal generic functions
read-all: Internal generic functions
redirect!: Exported functions
request: Exported generic functions
request: Exported generic functions
resource: Exported generic functions
resource: Exported generic functions
response-code: Internal generic functions
response-code: Internal generic functions
retry: Internal generic functions
retry: Internal generic functions

S
session-tokens: Exported generic functions
session-tokens: Exported generic functions
session-values: Internal generic functions
session-values: Internal generic functions
split-at: Internal functions
start: Exported generic functions
start: Exported generic functions
started: Internal generic functions
started: Internal generic functions
started: Internal generic functions
subscribe!: Exported generic functions
subscribe!: Exported generic functions

T
token: Internal generic functions
token: Internal generic functions
total-buffered: Internal generic functions
total-buffered: Internal generic functions
trie-insert!: Internal functions
trie-lookup: Internal functions
trie-map: Internal functions
trie-p: Internal functions
trie-value: Internal functions
trie-vars: Internal functions
tries: Internal generic functions
tries: Internal generic functions
type-assertion: Internal generic functions
type-assertion: Internal generic functions
type-assertion: Internal generic functions
type-assertion: Internal generic functions
type-expression: Internal generic functions
type-expression: Internal generic functions
type-expression: Internal generic functions
type-expression: Internal generic functions
type-expression: Internal generic functions
type-expression: Internal generic functions
type-expression: Internal generic functions

U
uri-decode: Internal generic functions
uri-decode: Internal generic functions
uri-decode: Internal generic functions

V
var-key: Internal functions

W
with-handler-table: Internal macros
write!: Internal generic functions
write!: Internal generic functions
write!: Internal generic functions
write!: Internal generic functions
write-ln: Internal functions

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

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

A.3 Variables

Jump to:   *   +  
A   B   C   D   E   H   I   K   L   M   P   R   S   T   V  
Index Entry  Section

*
*channels*: Internal special variables
*cookie-domains*: Internal special variables
*handler-table*: Internal special variables
*http-type-priority*: Internal special variables
*mimetype-table*: Internal special variables
*new-session-hook*: Internal special variables
*sessions*: Internal special variables

+
+400+: Internal special variables
+404+: Internal special variables
+413+: Internal special variables
+500+: Internal special variables
+clean-sessions-every+: Internal special variables
+max-buffer-tries+: Internal special variables
+max-request-age+: Internal special variables
+max-request-size+: Internal special variables
+max-session-idle+: Internal special variables

A
assertion: Internal conditions

B
bi-stream: Internal classes
body: Internal classes

C
cache-control: Internal classes
charset: Internal classes
content-type: Internal classes
contents: Internal classes
cookie: Internal classes

D
data: Internal classes

E
event: Internal classes
expecting: Internal classes
expires: Internal classes

H
handlers: Internal classes
headers: Exported classes
headers: Internal classes
http-method: Exported classes

I
id: Internal classes

K
keep-alive?: Internal classes

L
last-poked: Exported classes
location: Internal classes

M
map: Internal structures

P
parameters: Exported classes

R
request: Internal classes
resource: Exported classes
response-code: Internal classes
retry: Internal classes

S
session-tokens: Exported classes
session-values: Exported classes
Slot, assertion: Internal conditions
Slot, bi-stream: Internal classes
Slot, body: Internal classes
Slot, cache-control: Internal classes
Slot, charset: Internal classes
Slot, content-type: Internal classes
Slot, contents: Internal classes
Slot, cookie: Internal classes
Slot, data: Internal classes
Slot, event: Internal classes
Slot, expecting: Internal classes
Slot, expires: Internal classes
Slot, handlers: Internal classes
Slot, headers: Exported classes
Slot, headers: Internal classes
Slot, http-method: Exported classes
Slot, id: Internal classes
Slot, keep-alive?: Internal classes
Slot, last-poked: Exported classes
Slot, location: Internal classes
Slot, map: Internal structures
Slot, parameters: Exported classes
Slot, request: Internal classes
Slot, resource: Exported classes
Slot, response-code: Internal classes
Slot, retry: Internal classes
Slot, session-tokens: Exported classes
Slot, session-values: Exported classes
Slot, started: Exported classes
Slot, started: Internal classes
Slot, token: Exported classes
Slot, total-buffered: Internal classes
Slot, tries: Internal classes
Slot, value: Internal structures
Slot, vars: Internal structures
Special Variable, *channels*: Internal special variables
Special Variable, *cookie-domains*: Internal special variables
Special Variable, *handler-table*: Internal special variables
Special Variable, *http-type-priority*: Internal special variables
Special Variable, *mimetype-table*: Internal special variables
Special Variable, *new-session-hook*: Internal special variables
Special Variable, *sessions*: Internal special variables
Special Variable, +400+: Internal special variables
Special Variable, +404+: Internal special variables
Special Variable, +413+: Internal special variables
Special Variable, +500+: Internal special variables
Special Variable, +clean-sessions-every+: Internal special variables
Special Variable, +max-buffer-tries+: Internal special variables
Special Variable, +max-request-age+: Internal special variables
Special Variable, +max-request-size+: Internal special variables
Special Variable, +max-session-idle+: Internal special variables
started: Exported classes
started: Internal classes

T
token: Exported classes
total-buffered: Internal classes
tries: Internal classes

V
value: Internal structures
vars: Internal structures

Jump to:   *   +  
A   B   C   D   E   H   I   K   L   M   P   R   S   T   V  

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

A.4 Data types

Jump to:   B   C   H   P   R   S   T  
Index Entry  Section

B
buffer: Internal classes

C
Class, buffer: Internal classes
Class, handler-table: Internal classes
Class, request: Exported classes
Class, response: Internal classes
Class, session: Exported classes
Class, sse: Internal classes
Condition, http-assertion-error: Internal conditions

H
handler-table: Internal classes
house: The house system
house: The house package
http-assertion-error: Internal conditions

P
Package, house: The house package

R
request: Exported classes
response: Internal classes

S
session: Exported classes
sse: Internal classes
Structure, trie: Internal structures
System, house: The house system

T
trie: Internal structures

Jump to:   B   C   H   P   R   S   T