deleteSession static method

void deleteSession(
  1. Request request
)

Invalidates the session for the specified request.

Implementation

static void deleteSession(Request request) {
  final sessionId = _getSessionId(request);
  _sessions.remove(sessionId);
}