Properties:
Name | Type | Description |
---|---|---|
authentication |
server.HTTPAuth | (default: |
delegate |
server.HTTPSession | (default: |
generateSessionId |
function | A function for generating a session ID out of a request. |
when |
function | (default: |
Extends
Methods
-
getSession (id)server.HTTPSession
-
Returns the server.HTTPSession for the given ID. Creates a new session, if necessary.
Name Type Description id
string The session ID.
Returns:
Type Description server.HTTPSession The session. -
Creates a simple predicate for
when
that tests just for a path prefix.Name Type Description p
string The path prefix to test for.
Returns:
Type Description function A predicate function to use for when
.