eureca.io
Version:
Nodejs transparent bidirectional remote procedure call (RPC) supporting multiple transports : WebRTC, Websocket, engine.io, faye ...etc
22 lines (18 loc) • 543 B
text/typescript
/** @ignore */
module Eureca {
export class Protocol {
//internal stuff
static contractId = '__eureca__';
static authReq = '__auth__';
static authResp = '__authr__';
static signal = '__signal__';
static signalACK = '__sigack__';
//RPC stuff
static functionId = 'f';
static argsId = 'a';
static resultId = 'r';
static errorId = 'e';
static signatureId = 's';
static context = 'c';
}
}