These are all the shared data types used throughout. Transports receive these types and can choose how to deliver the message to their respective native platforms.

Note: For backwards compatibility, some platforms may alter the data shape within the transport.

Classes

MessageError
MessageResponse
NotificationMessage
RequestMessage
Subscription
SubscriptionEvent

Functions

isResponseFor
isSubscriptionEventFor