\Imi\Server\Session\MiddlewareHttpSessionMiddleware

Summary

Methods
Properties
Constants
process()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
start()
sendCookie()
No private properties found
N/A

Methods

process()

process(\Psr\Http\Message\ServerRequestInterface  $request, \Psr\Http\Server\RequestHandlerInterface  $handler) 

Process an incoming server request and return a response, optionally delegating response creation to a handler.

Parameters

\Psr\Http\Message\ServerRequestInterface $request
\Psr\Http\Server\RequestHandlerInterface $handler

start()

start(\Imi\Server\Session\SessionManager  $sessionManager, string  $sessionID) : void

开启session

Parameters

\Imi\Server\Session\SessionManager $sessionManager
string $sessionID