CL-HTTP Chapter 7: HTML Generation


Table of Contents | Previous: WebSockets | Next: Authentication


7.1 HTML Generation Philosophy

CL-HTTP generates HTML entirely from Common Lisp macros and functions. There are no template files, no embedded HTML strings, and no external templating engines. Every HTML tag is produced by a Lisp macro that ensures well-formed output: opening tags are always closed, attributes are properly quoted, and nesting constraints are enforced at compile time where possible.

The HTML generation facility is organized as a tower of packages, each building on the previous:

HTML2 (package html2)
The base layer, implementing HTML 2.0 per the original IETF specification. Defines the foundational macros: document structure, anchors, renditions, enumerations, forms, and special character handling.
HTML 3.2 (package html3.2)
Extends HTML2 with tables, client-side image maps, font control, alignment parameters, and the with-standard-document-body macro.
HTML 4.01 (package html4.0)
The most widely used layer. Adds CSS support, event handlers, internationalization attributes (language, direction), DTD version declarations, deprecation checking, accessibility attributes (tab-index, access-key), and the full form control vocabulary. Most CL-HTTP application code uses HTML 4.01 macros.
XHTML 1.0 (package xhtml1.0)
Overrides key macros for XML-compatible output: lowercase tag names, self-closing empty elements, XML declaration, and CDATA-wrapped scripts.
HTML5 (package html5)
Extends HTML 4.01 with semantic structural elements (header, footer, nav, article, section, aside, main, figure), interactive elements (details, dialog), media elements (audio, video), new form input types, and HTML5 global attributes (hidden, contenteditable, draggable, data-*, aria-*). Uses the simplified <!DOCTYPE html> declaration.

The active HTML package is controlled by feature flags at system load time. One of the packages is always nicknamed "HTML", so application code that uses html:with-html-document automatically gets the current version. Most code should use the HTML nickname rather than version-specific package names.

The *output-stream* Convention

All HTML generation macros accept a :stream keyword argument. When omitted, it defaults to *output-stream*, a special variable defined in the HTML2 package:

(html2:define-parameter *output-stream* *standard-output*
  "The standard place where HTML operator output text.")

In a CL-HTTP response function, *output-stream* is bound to the HTTP response stream. You can pass :stream stream explicitly to every macro, or rely on the dynamic binding:

;; Explicit stream passing (recommended for clarity):
(html:with-html-document (:stream stream)
  (html:with-document-preamble (:stream stream)
    (html:declare-title "My Page" :stream stream))
  (html:with-document-body (:stream stream)
    (html:with-paragraph (:stream stream)
      (write-string "Hello, world." stream))))

;; Using *output-stream* (convenient for deeply nested code):
(let ((html:*output-stream* stream))
  (html:with-html-document ()
    (html:with-document-preamble ()
      (html:declare-title "My Page"))
    (html:with-document-body ()
      (html:with-paragraph ()
        (write-string "Hello, world." html:*output-stream*)))))

7.2 Document Structure

Every HTML page requires a specific nesting structure. CL-HTTP provides macros that enforce this structure:

with-html-document

Wraps the entire page in <html>...</html> and emits the DTD declaration.

(html:with-html-document (:declare-dtd-version-p :transitional
                          :language :en
                          :stream stream)
  ;; document preamble and body go here
  )

The :declare-dtd-version-p argument controls the DOCTYPE declaration:

In the HTML5 package, the simplified <!DOCTYPE html> is always emitted regardless of this argument, though the argument is accepted for backward compatibility.

with-document-preamble

Wraps the <head> section. All metadata, title, style, and script declarations belong here.

(html:with-document-preamble (:stream stream)
  (html:declare-title "Page Title" :stream stream)
  (html:declare-link :reference "/cl-http/css/base.css"
                     :relation "stylesheet" :stream stream)
  (html:declare-meta-info "text/html; charset=UTF-8"
                          :header :content-type :stream stream))

declare-title

Declares the document title. Every HTML document must have exactly one title in the preamble. The title can be a string or a function called with (stream):

(html:declare-title "CL-HTTP Reference Manual" :stream stream)

;; Dynamic title:
(html:declare-title #'(lambda (stream)
                        (format stream "Status as of ~A"
                                (http::write-standard-time
                                 (get-universal-time) stream)))
                    :stream stream)

with-document-style-declared

Declares an inline CSS style block in the preamble:

(html:with-document-style-declared ((:text :css)
                                    :media :screen
                                    :stream stream)
  (write-string "body { margin: 2em; font-family: sans-serif; }" stream)
  (fresh-line stream)
  (write-string "h1 { color: #003366; }" stream))

This emits:

<style type="text/css" media="screen">
body { margin: 2em; font-family: sans-serif; }
h1 { color: #003366; }
</style>

with-document-body

Wraps the <body> section where all visible content is placed.

(html:with-document-body (:class "main" :id "content"
                          :style "margin: 1em;"
                          :language :en
                          :stream stream)
  ;; page content goes here
  )

HTML 4.01 adds :events for JavaScript event handlers (:load, :unload, etc.). Deprecated color arguments (:background, :foreground, :link, :visited-link, :active-link) are still accepted for backward compatibility but generate deprecation warnings in strict mode.

with-standard-document-body

A convenience macro that applies the standard CL-HTTP color scheme from *standard-color-scheme*. Deprecated in HTML 4.01 in favor of CSS.

(html:with-standard-document-body (:stream stream)
  ;; body with standard colors applied
  )

Complete Document Example

(html:with-html-document (:declare-dtd-version-p :transitional
                          :language :en :stream stream)
  (html:with-document-preamble (:stream stream)
    (html:declare-title "Example Page" :stream stream)
    (html:declare-meta-info "text/html; charset=UTF-8"
                            :header :content-type :stream stream))
  (html:with-document-body (:stream stream)
    (html:with-section-heading ("Welcome" :stream stream)
      (html:with-paragraph (:stream stream)
        (write-string "This is an example CL-HTTP page." stream)))))

This generates:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Example Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<h1>Welcome</h1>
<p>This is an example CL-HTTP page.</p>
</body>
</html>

7.3 Text and Headings

with-section-heading

Creates a section heading at the specified level (H1 through H6). The heading level defaults to *section-level*, which starts at 1 and automatically increments within the body of the macro, so nested headings get progressively deeper levels:

(html:with-section-heading ("Chapter Title" :stream stream)
  ;; Inside here, *section-level* is 2
  (html:with-paragraph (:stream stream)
    (write-string "Introductory text." stream))
  (html:with-section-heading ("Section Title" :stream stream)
    ;; Inside here, *section-level* is 3
    (html:with-paragraph (:stream stream)
      (write-string "Section content." stream))))

This generates:

<h1>Chapter Title</h1>
<p>Introductory text.</p>
<h2>Section Title</h2>
<p>Section content.</p>

You can override the automatic level with the :level argument:

(html:with-section-heading ("Explicit H3" :level 3 :stream stream))

HTML 4.01 and HTML5 add standard arguments: :class, :id, :title, :style, :language, :direction, and :events. HTML5 additionally supports :hidden, :content-editable, :draggable, :role, :data-attributes, and :aria-attributes.

with-paragraph

Wraps content in <p>...</p>:

(html:with-paragraph (:stream stream)
  (write-string "A paragraph of text with " stream)
  (html:with-rendition (:bold :stream stream)
    (write-string "bold" stream))
  (write-string " and " stream)
  (html:with-rendition (:italic :stream stream)
    (write-string "italic" stream))
  (write-string " words." stream))

with-rendition

Applies a text style to the content within its body. The rendition is specified as a keyword:

RenditionHTML TagDescription
:bold<b>Bold text
:italic<i>Italic text
:teletype<tt>Monospaced text
:code<code>Inline computer code (HTML 4.01+)
:underline<u>Underlined text (deprecated in HTML 4.01)
:strike<s>Strike-through text (deprecated in HTML 4.01)
:large<big>Larger text
:small<small>Smaller text
:superscript<sup>Superscript
:subscript<sub>Subscript
:keyboard<kbd>Keyboard input (HTML 4.01+)
:sample<samp>Sample output (HTML 4.01+)
:variable<var>Variable/argument (HTML 4.01+)
:citation<cite>Citation or reference (HTML 4.01+)
:definition<dfn>Defining instance (HTML 4.01+)
:heading-1 through :heading-6<h1>–<h6>Section headings as rendition
;; Inline code example:
(html:with-rendition (:code :stream stream)
  (write-string "defun" stream))

;; Nested renditions:
(html:with-rendition (:bold :stream stream)
  (html:with-rendition (:italic :stream stream)
    (write-string "Bold and italic" stream)))

break-line and horizontal-line

break-line emits <br>. horizontal-line emits <hr>:

(write-string "Line one." stream)
(html:break-line :stream stream)
(write-string "Line two." stream)
(html:horizontal-line :stream stream)

horizontal-line accepts optional arguments for styling (HTML 4.01+): :class, :id, :style, and the deprecated :size, :width, :alignment, and :shade.

with-verbatim-text

Wraps content in <pre>...</pre> for preformatted text. Whitespace and line breaks are preserved exactly as written:

(html:with-verbatim-text (:stream stream)
  (write-string "(defun hello (name)" stream)
  (terpri stream)
  (write-string "  (format t \"Hello, ~A!\" name))" stream))

This generates:

<pre>(defun hello (name)
  (format t "Hello, ~A!" name))</pre>

7.4 Links and Images

with-anchor-noted

Creates a hyperlink. The :reference argument is the target URL (a string or URL object). The body generates the link text:

(html:with-anchor-noted (:reference "/cl-http/cl-http.html"
                         :stream stream)
  (write-string "CL-HTTP Home Page" stream))

This generates:

<a href="/cl-http/cl-http.html">CL-HTTP Home Page</a>

Additional arguments:

The function note-anchor is a non-macro equivalent that takes the link text as a required string argument:

(html:note-anchor "CL-HTTP Home Page"
                  :reference "/cl-http/cl-http.html"
                  :stream stream)

image

Inserts an image into the page:

(html:image "/cl-http/icons/power.gif" "CL-HTTP Logo"
            :width 134 :height 59
            :stream stream)

This generates:

<img src="/cl-http/icons/power.gif" alt="CL-HTTP Logo" width="134" height="59">

The first argument is the image URL and the second is the alternative text (required for accessibility). Additional arguments:

7.5 Lists

with-enumeration

Creates a list environment. The style argument determines the list type:

StyleHTML TagDescription
:itemize<ul>Unordered (bulleted) list
:enumerate<ol>Ordered (numbered) list
:definition<dl>Definition list (term/description pairs)
:plain<ul>Plain list (no bullets)
:menu<menu>Menu list (deprecated)
:directory<dir>Directory list (deprecated)

enumerating-item

Emits a single list item within an enumeration:

;; Bulleted list:
(html:with-enumeration (stream :itemize)
  (html:enumerating-item (stream)
    (write-string "First item" stream))
  (html:enumerating-item (stream)
    (write-string "Second item" stream))
  (html:enumerating-item (stream)
    (write-string "Third item" stream)))

This generates:

<ul>
<li>First item
<li>Second item
<li>Third item
</ul>
;; Numbered list:
(html:with-enumeration (stream :enumerate)
  (html:enumerating-item (stream)
    (write-string "Step one" stream))
  (html:enumerating-item (stream)
    (write-string "Step two" stream)))
;; Definition list:
(html:with-enumeration (stream :definition)
  (html:enumerating-item (stream :head "CL-HTTP")
    (write-string "A Common Lisp HTTP server." stream))
  (html:enumerating-item (stream :head "URL")
    (write-string "Uniform Resource Locator." stream)))

This generates:

<dl>
<dt>CL-HTTP</dt>
<dd>A Common Lisp HTTP server.
<dt>URL</dt>
<dd>Uniform Resource Locator.
</dl>

The :type argument overrides the default bullet or numbering style. For :enumerate: :capital-letters, :small-letters, :large-roman, :small-roman, :arabic (default). For :itemize: :solid-disc, :circle, :square.

HTML5 adds the :reversed argument to reverse the numbering order for ordered lists.

7.6 Tables

with-table

Creates a table environment. Tables are composed of rows, and rows are composed of cells:

(html:with-table (:border t :stream stream)
  (html:with-table-row (:stream stream)
    (html:with-table-cell (:header-p t :stream stream)
      (write-string "Name" stream))
    (html:with-table-cell (:header-p t :stream stream)
      (write-string "Version" stream)))
  (html:with-table-row (:stream stream)
    (html:with-table-cell (:stream stream)
      (write-string "CL-HTTP" stream))
    (html:with-table-cell (:stream stream)
      (write-string "70.226" stream)))
  (html:with-table-row (:stream stream)
    (html:with-table-cell (:stream stream)
      (write-string "SBCL Port" stream))
    (html:with-table-cell (:stream stream)
      (write-string "1.8.2" stream))))

This generates:

<table border>
<tr><th>Name</th><th>Version</th>
<tr><td>CL-HTTP</td><td>70.226</td>
<tr><td>SBCL Port</td><td>1.8.2</td>
</table>

with-table Arguments

with-table-row Arguments

with-table-cell Arguments

7.7 Forms

CL-HTTP forms are created with two macros: with-fillout-form establishes the form environment, and accept-input creates individual form controls within it.

with-fillout-form

Establishes a form that submits to a URL. Forms must not be nested (this is enforced at runtime).

(html:with-fillout-form (:post url :stream stream)
  ;; form controls go here
  )

Arguments:

HTML5 adds :no-validate (disables form validation) and :auto-complete (:on or :off).

accept-input

The primary interface for form controls. The first argument is a symbol denoting the input type, and the second is the query name (a string) that identifies the value when the form is submitted:

(html:accept-input 'html:string "username"
                   :default "anonymous"
                   :size 30
                   :max-length 100
                   :stream stream)

Input Types

Input Type SymbolHTML ElementDescription
'string<input type="text">Single-line text input
'password<input type="password">Password input (masked)
'multi-line-text<textarea>Multi-line text area
'radio-button<input type="radio">Radio button group
'checkbox<input type="checkbox">Checkbox group
'select-choices<select>Drop-down or multi-select list
'hidden<input type="hidden">Hidden field
'file<input type="file">File upload
'image<input type="image">Clickable image
'submit-button<input type="submit">Submit button
'reset-button<input type="reset">Reset button

HTML5 Input Types

The HTML5 package adds these input types:

Input Type SymbolHTML ElementDescription
'email-field<input type="email">Email address with validation
'url-field<input type="url">URL with validation
'number-field<input type="number">Numeric input with min/max/step
'range-field<input type="range">Slider control
'date-field<input type="date">Date picker
'color-field<input type="color">Color picker
'search-field<input type="search">Search input

HTML5 input types support additional arguments: :placeholder, :required, :auto-focus, :pattern (regex validation), :min, :max, :step, and :multiple (for email-field).

Complete Form Example

(html:with-fillout-form (:post url :stream stream)

  ;; Text field
  (html:accept-input 'html:string "name"
                     :default "Your Name" :size 40
                     :label "Name: " :stream stream)
  (html:break-line :stream stream)

  ;; Password
  (html:accept-input 'html:password "pass"
                     :size 20 :max-length 32
                     :label "Password: " :stream stream)
  (html:break-line :stream stream)

  ;; Radio buttons
  (html:accept-input 'html:radio-button "color"
                     :choices '("Red" "Green" "Blue")
                     :default "Green"
                     :stream stream)
  (html:break-line :stream stream)

  ;; Checkboxes
  (html:accept-input 'html:checkbox "features"
                     :choices '("HTTP/1.1" "HTTP/2" "SSL/TLS")
                     :default "HTTP/1.1"
                     :stream stream)
  (html:break-line :stream stream)

  ;; Select menu
  (html:accept-input 'html:select-choices "port"
                     :choices '(("LispWorks" . "lw")
                                ("SBCL" . "sbcl")
                                ("Genera" . "genera"))
                     :default "sbcl"
                     :stream stream)
  (html:break-line :stream stream)

  ;; Multi-line text
  (html:accept-input 'html:multi-line-text "comments"
                     :rows 5 :columns 60
                     :default "Enter comments here..."
                     :stream stream)
  (html:break-line :stream stream)

  ;; Hidden field
  (html:accept-input 'html:hidden "session-id"
                     :default session-token
                     :stream stream)

  ;; Submit and Reset
  (html:accept-input 'html:submit-button "action"
                     :default "Submit" :stream stream)
  (html:accept-input 'html:reset-button "reset"
                     :default "Clear" :stream stream))

File Upload

The 'file input type produces an <input type="file"> control and requires the form's :encoding-type to be '(:multipart :form-data) (the HTML 4.01 default). When the form is submitted, CL-HTTP's multipart parser saves each uploaded file to a temporary pathname under http:*file-upload-default-directory* and passes the pathname as the field value to the form's response function, with :upload-filename, :content-type, and :copy-mode in the query baggage.

CL-HTTP's accept-input 'html:file ... writes the field's NAME attribute as an armor-plated base64 pack of (query-name directory-index) so the server can route uploads to per-form upload directories. Forms not generated by accept-input -- hand-written HTML, browser file inputs from arbitrary frameworks, curl -F, third-party form builders -- send the field NAME verbatim. The parser accepts both forms: if the NAME decodes to a valid armor-plated baggage list it is used to look up the per-form upload directory; otherwise the NAME is taken verbatim and the file is saved under http:*file-upload-default-directory*. This tolerance means generic HTML forms work without modification.

The position of the file part within the multipart body is irrelevant: file at the first position, in the middle, just before the submit button, or last all parse identically. Both text and binary file parts are supported; binary uploads (Content-Type: application/octet-stream) preserve content byte-for-byte, while text uploads apply local-charset CRLF translation.

Standard Arguments for All Input Types

All input types accept these keyword arguments:

7.8 Scripts

with-script

Emits a <script> element for client-side scripting. Usually placed in the document preamble or at the end of the body:

(html:with-document-preamble (:stream stream)
  (html:declare-title "Interactive Page" :stream stream)
  (html:with-script ((:text :javascript) :stream stream)
    (write-string "function greet(name) {" stream)
    (fresh-line stream)
    (write-string "  alert('Hello, ' + name + '!');" stream)
    (fresh-line stream)
    (write-string "}" stream)))

This generates:

<script type="text/javascript">
function greet(name) {
  alert('Hello, ' + name + '!');
}
</script>

Arguments:

HTML5 adds :async (asynchronous loading), :integrity (subresource integrity hash), :cross-origin (:anonymous or :use-credentials), and :no-module.

define-script

define-script registers a named, reusable script object. It separates the script definition from its invocation, enabling the same script to be used across multiple pages:

(html:define-script check-bounds (java-script)
  :documentation "Checks integer bounds on a form field."
  :caller ((script stream min max)
           (html:fast-format stream
             "\"if (!Check_Bounds(this.value, ~D, ~D))~
              ~% {this.focus();this.select();}\"" min max))
  :script ((script stream)
           (html:fast-format stream
             "function Check_Bounds(v, min, max) {~
              ~%  var n = parseInt(v);~
              ~%  if (isNaN(n) || n < min || n > max) {~
              ~%    alert('Value must be between ' + min + ' and ' + max);~
              ~%    return false;~
              ~%  }~
              ~%  return true;~
              ~%}")))

The :script clause defines how to write the script text. The :caller clause defines how to write a call to the script from an event handler. Use declare-script in the preamble and event-caller in form controls:

;; In the preamble:
(html:with-document-preamble (:stream stream)
  (html:declare-script check-bounds stream))

;; In the form body:
(html:with-event-handlers
    (events
      (:java-script
        :new-value (html:event-caller check-bounds 1 100)))
  (html:accept-input 'html:string "quantity"
                     :events events :stream stream))

with-event-handlers

Binds a variable to a set of client-side event handlers for use with form controls and other elements:

(html:with-event-handlers
    (events
      (:java-script
        :mouse-over "this.style.color='red'"
        :mouse-out "this.style.color='black'"))
  (html:with-anchor-noted (:reference "/help" :stream stream)
    (html:note-anchor "Help" :reference "/help"
                      :events events :stream stream)))

Events are specified as keyword/command pairs. The event keywords correspond to HTML 4.01 intrinsic events:

Event KeywordHTML AttributeDescription
:mouse-clickonclickElement clicked
:mouse-double-clickondblclickElement double-clicked
:mouse-overonmouseoverPointer enters element
:mouse-outonmouseoutPointer leaves element
:mouse-downonmousedownPointer button pressed
:mouse-uponmouseupPointer button released
:mouse-moveonmousemovePointer moved over element
:key-pressonkeypressKey pressed and released
:key-downonkeydownKey pressed down
:key-uponkeyupKey released
:input-focusonfocusElement receives focus
:input-defocusonblurElement loses focus
:new-valueonchangeControl value changed
:selectonselectText selected
:submitonsubmitForm submitted
:resetonresetForm reset
:loadonloadDocument/frameset loaded
:unloadonunloadDocument/frameset unloaded

7.9 HTML Version Differences

CL-HTTP's HTML generation packages form a progressive tower. Each version inherits all macros from the previous version and adds new capabilities. Below is a summary of what each version contributes.

HTML 2.0 (package html2)

The foundation. Defines:

HTML 3.2 (package html3.2)

Extends HTML2 with:

Netscape Extensions (packages netscape1.1, netscape2.0, netscape3.0, netscape4.0)

CL-HTTP includes packages that track Netscape browser extensions, which predated and influenced the HTML standards:

These packages are historical. New code should use HTML 4.01 or HTML5 macros, which subsume all the useful Netscape extensions.

HTML 4.01 (package html4.0)

The major step forward. Adds:

XHTML 1.0 (package xhtml1.0)

XML-compatible reformulation of HTML 4.01. Changes:

HTML5 (package html5)

The current standard. Extends HTML 4.01 (not XHTML) with:

HTML5 deliberately excludes client-side-only features that have no meaningful server-side generation semantics: Popover API, inputmode, enterkeyhint, autocapitalize, Custom Elements, Shadow DOM, and Microdata.

7.10 Complete Application Example

The following example brings together document structure, headings, tables, lists, forms, links, and images in a single response function:

(http:export-url #u"/cl-http/manual-example.html"
                 :html-computed
                 :response-function
                 #'(lambda (url stream)
                     (declare (ignore url))
                     (http:with-successful-response (stream :html)
                       (html:with-html-document (:declare-dtd-version-p :transitional
                                                 :language :en :stream stream)
                         (html:with-document-preamble (:stream stream)
                           (html:declare-title "CL-HTTP Manual Example" :stream stream))
                         (html:with-document-body (:stream stream)

                           ;; Page heading with a logo
                           (html:image "/cl-http/icons/power.gif" "CL-HTTP"
                                       :width 134 :height 59 :stream stream)
                           (html:with-section-heading ("CL-HTTP Platforms" :stream stream)

                             ;; Introductory paragraph
                             (html:with-paragraph (:stream stream)
                               (write-string "CL-HTTP runs on " stream)
                               (html:with-rendition (:bold :stream stream)
                                 (write-string "multiple Lisp implementations" stream))
                               (write-string ". See the " stream)
                               (html:with-anchor-noted (:reference "/cl-http/cl-http.html"
                                                        :stream stream)
                                 (write-string "home page" stream))
                               (write-string " for details." stream))

                             ;; Feature table
                             (html:with-table (:border t :stream stream)
                               (html:with-table-row (:stream stream)
                                 (html:with-table-cell (:header-p t :stream stream)
                                   (write-string "Platform" stream))
                                 (html:with-table-cell (:header-p t :stream stream)
                                   (write-string "HTTP/2" stream))
                                 (html:with-table-cell (:header-p t :stream stream)
                                   (write-string "SSL/TLS" stream)))
                               (html:with-table-row (:stream stream)
                                 (html:with-table-cell (:stream stream)
                                   (write-string "LispWorks" stream))
                                 (html:with-table-cell (:stream stream)
                                   (write-string "Yes" stream))
                                 (html:with-table-cell (:stream stream)
                                   (write-string "OpenSSL" stream)))
                               (html:with-table-row (:stream stream)
                                 (html:with-table-cell (:stream stream)
                                   (write-string "SBCL" stream))
                                 (html:with-table-cell (:stream stream)
                                   (write-string "Yes" stream))
                                 (html:with-table-cell (:stream stream)
                                   (write-string "pure-tls" stream))))

                             ;; Bulleted feature list
                             (html:with-section-heading ("Key Features" :stream stream)
                               (html:with-enumeration (stream :itemize)
                                 (html:enumerating-item (stream)
                                   (write-string "Package-based portability" stream))
                                 (html:enumerating-item (stream)
                                   (write-string "HTML generation macros" stream))
                                 (html:enumerating-item (stream)
                                   (write-string "W3P presentation system" stream))))))))))

Table of Contents | Previous: WebSockets | Next: Authentication