mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-27 15:59:22 +00:00
17 lines
424 B
TypeScript
17 lines
424 B
TypeScript
|
/**
|
||
|
* User Websocket requests route
|
||
|
*
|
||
|
* Note : this implementation requires the
|
||
|
* user to be signed in to perform requests
|
||
|
*
|
||
|
* @author Pierre Hubert
|
||
|
*/
|
||
|
|
||
|
import { UserWebSocketRequestsHandler } from "../entities/WebSocketRequestHandler";
|
||
|
|
||
|
export interface UserWebSocketRoute {
|
||
|
title: string,
|
||
|
handler: (h: UserWebSocketRequestsHandler) => Promise<void>
|
||
|
}
|
||
|
|
||
|
export const UserWebSocketRoutes: UserWebSocketRoute[] = []
|