UNPKG

@furystack/websocket-api

Version:

WebSocket API implementation for FuryStack

8 lines 396 B
import type { WebSocketAction } from '../models/websocket-action.js'; /** * Built-in action that responds to `whoami` and `whoami /claims` messages * with the current user resolved from the per-connection `HttpUserContext`. * Replies with `{ currentUser: null }` if resolution fails (e.g. unauthenticated). */ export declare const WhoAmI: WebSocketAction; //# sourceMappingURL=whoami.d.ts.map