DefinitelyTyped/types/cometd
P.J. Swesey 4242a92e9a fix(cometd): Update Message interface for CometD 4.0 (#39905)
- Adds BaseMessage interface to include required and optional properties common to all Messages.
- Adds SuccessfulHandshakeMessage, UnsuccessfulHandshakeMessage, HandshakeMessage and SubscribeMessage interfaces with their appropriate fields.
- Replaces Message interface with a union type of the other messager interfaces.
- Adds specific Listener interfaces and uses them on the appropriate handlers.
- Implements all fields documented at https://docs.cometd.org/current4/reference/#_bayeux_message_fields, and SuccesfulHandshakeMessage's undocumented `reestablish` field implemented here: bb64aa2dee/cometd-javascript/common/src/main/webapp/js/cometd/cometd.js (L2180)
2019-10-29 15:26:27 -07:00
..
AckExtension
BinaryExtension
TimeSyncExtension
cometd-tests.ts
index.d.ts
tsconfig.json
tslint.json