Skip to main content

get_session

Function get_session 

Source
pub async fn get_session(
    __arg0: State<AppState>,
    headers: HeaderMap,
) -> Result<Json<SessionInfo>, ApiError>
Expand description

GET /api/session — the current credential, or {"auth":"disabled"}.