perfect.org
Documentation
|
API Documentation
PerfectLib
Perfect-CouchDB
Perfect-CURL
Perfect-Filemaker
Perfect-GoogleAnalytics-MeasurementProtocol
Perfect-HTTP
Perfect-HTTPServer
Perfect-Logger
Perfect-MongoDB
Perfect-Mustache
Perfect-MySQL
Perfect-MariaDB
Perfect-Net
Perfect-Notifications
Perfect-PostgreSQL
Perfect-Redis
Perfect-RequestLogger
Perfect-Session
Perfect-Session-SQLite
Perfect-Session-CouchDB
Perfect-Session-MySQL
Perfect-Session-PostgreSQL
Perfect-SQLite
Perfect-Thread
Perfect-WebSockets
Perfect-XML
Perfect-Zip
Turnstile-Perfect
Perfect-Turnstile-CouchDB
Perfect-Turnstile-MySQL
Perfect-Turnstile-PostgreSQL
Perfect-Turnstile-SQLite
StORM
CouchDB-StORM
MySQL-StORM
Postgres-StORM
SQLite-StORM
Module: Perfect-Session-SQLite
struct
SessionSQLiteDriver
var
requestFilter: (HTTPRequestFilter, HTTPFilterPriority)
var
responseFilter: (HTTPResponseFilter, HTTPFilterPriority)
func
init()
class
SessionSQLiteFilter
func
init()
extension
SessionSQLiteFilter
func
filter(request: HTTPRequest, response: HTTPResponse, callback: (HTTPRequestFilterResult) -> ())
extension
SessionSQLiteFilter
func
filterHeaders(response: HTTPResponse, callback: (HTTPResponseFilterResult) -> ())
Called once before headers are sent to the client.
func
filterBody(response: HTTPResponse, callback: (HTTPResponseFilterResult) -> ())
Called zero or more times for each bit of body data which is sent to the client.
struct
SQLiteSessions
func
init()
Initializes the Session Manager. No config needed!
func
save(session: PerfectSession)
func
start(_ request: HTTPRequest) -> PerfectSession
func
destroy(token: String)
Deletes the session for a session identifier.
func
resume(token: String) -> PerfectSession