vibe.d beta banner
get vibe.d
0.7.30

Variable HTTPServerRequest.session

The current Session object.

This field is set if HTTPServerResponse.startSession() has been called on a previous response and if the client has sent back the matching cookie.

Declaration

class HTTPServerRequest
{
  // ...
  Session session;
  // ...
}

Remarks

Requires the HTTPServerOption.parseCookies option.

Authors

Sönke Ludwig, Jan Krüger, 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.