AscendingCreations / AxumSession

Axum Session Management Libraries that use Sqlx
MIT License
142 stars 29 forks source link

add Session::get_session_id #34

Closed mwcz closed 1 year ago

mwcz commented 1 year ago

Hi! I was just trying out axum_sessions today and was looking for a way to get the SessionID inside a handler. I couldn't figure out how so I put together this PR. Feel free to merge if you like it, or suggest another way to get the SessionID, or neither. :sweat_smile: