UNPKG

@unparallel/smartclide-frontend-comm

Version:

This module builds a message according to the protocol established for the communication between the SmartCLIDE IDE frontend and its components.

9 lines (7 loc) 193 B
export enum messageTypes { "COMM_START", "COMM_END", "COMM_START_REPLY", "KEYCLOAK_TOKEN" } export function buildMessage(messageType: number, messageContent?: string): object;