vibe.d beta banner
get vibe.d
0.10.0

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

Function MongoSessionStore.this

Constructs a new MongoDB session store.

this (
  string url,
  string collection = "sessions"
) @safe;

Parameters

NameDescription
url URL of the MongoDB database (e.g. "mongodb://localhost/mydb")
database Name of the database to use
collection Optional collection name to store the sessions in
Authors

Sönke Ludwig

Copyright

© 2017 RejectedSoftware e.K.

License

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