peers/peerjs-server

View on GitHub
src/models/message.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { MessageType } from "../enums.ts";

export interface IMessage {
    readonly type: MessageType;
    readonly src: string;
    readonly dst: string;
    readonly payload?: string | undefined;
}