Tectu / malloy

A cross-platform C++20 library providing embeddable server & client components for HTTP and WebSocket.
BSD 3-Clause "New" or "Revised" License
66 stars 8 forks source link

Session manager: accept header instead of full request #94

Closed Tectu closed 2 years ago

Tectu commented 2 years ago

The malloy::http::sessions::manager class provides some facilities to check whether a request comes with a valid session ID in form of manager::is_valid(). This function currently only accepts the full request.

We might want to make this more lax or extend the interface to also work on the request header only.