Changeset 12531 in project


Ignore:
Timestamp:
11/16/08 16:30:04 (12 years ago)
Author:
sjamaan
Message:

Document remaining exported procedures, parameters etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/spiffy

    r12530 r12531  
    6060<parameter>(root-path [path])</parameter>
    6161
    62 The path to the document root. Defaults to {{"./web"}}.
     62The path to the document root, for the current vhost.
     63Defaults to {{"./web"}}.
    6364
    6465<parameter>(server-port [port-number])</parameter>
     
    181182parsed form (as intarweb returns them).
    182183
    183 <parameter>(current-response [request])</parameter>
     184<parameter>(current-response [response])</parameter>
    184185
    185186An intarweb response-object that defines the current
     
    192193The path to the requested file (a string). Available from the moment
    193194Spiffy determined the requested URL points to a file (just before the
    194 {{handle-file}} procedure is called).
     195{{handle-file}} procedure is called). This file is relative to the
     196{{root-path}}.
    195197
    196198<parameter>(current-pathinfo [path])</parameter>
     
    200202Spiffy determined the requested URL points to a file (just before the
    201203{{handle-file}} procedure is called).
     204
     205<parameter>(remote-address [address])</parameter>
     206
     207The IP address (a string) of the user-agent performing the current
     208request.
     209
     210<parameter>(local-address [address])</parameter>
     211
     212The IP address (a string) on which the current request came in.
    202213
    203214=== Virtual hosts
     
    299310request was just parsed. The argument is the new request to use.
    300311Be careful, this makes it very easy to introduce unwanted endless loops!
     312
     313<procedure>(htmlize string) => string</procedure>
     314
     315Encode "special" html symbols like tag and attribute characters so
     316they will not be interpreted by the browser.
    301317
    302318=== Modules
Note: See TracChangeset for help on using the changeset viewer.