src/Server/Middleware/SessionMiddleware.php
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $request = $request->withAttribute('sessionDriver', $this->sessionDriver);
        return $handler->handle($request);
    }
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $request = $request->withAttribute('sessionDriver', $this->sessionDriver);
        return $handler->handle($request);
    }
Process an incoming server request and return a response, optionally delegating
response creation to a handler.

@param ServerRequestInterface $request
@param RequestHandlerInterface $handler

@return ResponseInterface