2019-08-12 14:59:37 +02:00
|
|
|
export type IServerCallActions =
|
|
|
|
| 'channelSubscription'
|
|
|
|
| 'processMessage'
|
|
|
|
| 'channelUnsubscribe'
|
|
|
|
| 'terminateConnection';
|
2019-04-24 23:27:57 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* the interface for a subscription
|
|
|
|
*/
|
|
|
|
export interface IServerCallSubscribeActionPayload {
|
|
|
|
name: string;
|
|
|
|
passphrase: string;
|
2019-04-28 12:42:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IServerUnsubscribeActionPayload {
|
|
|
|
name: string;
|
|
|
|
}
|