sessionStatus

Decide the HTTP status for a non-initialize request when session management is enabled (basic/transports §Session Management): - 0 — the session id is present and active; proceed. - 400 — no Mcp-Session-Id header was supplied ("Servers that require a session ID SHOULD respond to requests without an Mcp-Session-Id header (other than initialization) with HTTP 400 Bad Request"). - 404 — the id names an unknown or already-terminated session ("after termination it MUST respond ... with HTTP 404 Not Found").

@safe
int
sessionStatus