vibe.d beta banner
get vibe.d
0.8.1

Asynchronous I/O that doesn’t get in your way, written in D

Struct Session

Represents a single HTTP session.

struct Session ;

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

Properties

NameTypeDescription
id[get]stringReturns the unique session id of this session.

Methods

NameDescription
getGets a typed field from the session.
isKeySetQueries the session for the existence of a particular key.
opApplyEnables foreach-iteration over all keys of the session.
opCastChecks if the session is active.
remove
setSets 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.