vibe.d beta banner
get vibe.d
0.7.30

Struct Session

Represents a single HTTP session.

Indexing the session object with string keys allows to store arbitrary key/value pairs.

Properties

Name Type Description
id [get] string Returns the unique session id of this session.

Methods

Name Description
get Gets a typed field from the session.
isKeySet Queries the session for the existence of a particular key.
opApply Enables foreach-iteration over all keys of the session.
opCast Checks if the session is active.
set Sets a typed field to the session.
Authors

Jan Krüger, Sönke Ludwig, Ilya Shipunov

Copyright

© 2012-2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.