The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/client/lib/sdk/ddpProtocol.ts

10 lines
420 B

// Single point of access to the DDP wire codec. Today it forwards to Meteor's
// `ddp-common` package; the eventual replacement will be a standalone EJSON
// helper. Consumers MUST import parseDDP / stringifyDDP from here so the codec
// stays swappable.
import { DDPCommon } from 'meteor/ddp-common';
export const { parseDDP, stringifyDDP } = DDPCommon;
export type DDPMessage = Parameters<typeof stringifyDDP>[0];