2022-01-10 09:35:17 +01:00
|
|
|
export interface wsCallbacksParams {
|
2022-01-31 14:44:22 +01:00
|
|
|
type: 'Offline' | 'Online' | 'Open' | 'Onmessage' | 'reConnect',
|
2022-01-10 09:35:17 +01:00
|
|
|
funx: Function
|
2022-01-10 10:53:04 +01:00
|
|
|
runOnces?: boolean
|
2022-01-10 09:35:17 +01:00
|
|
|
requestId?: string
|
2022-01-12 20:21:44 +01:00
|
|
|
key?: string
|
2022-01-29 19:21:46 +01:00
|
|
|
order?: number
|
2022-01-10 09:35:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export interface msgQueue {
|
|
|
|
|
message: object,
|
2022-01-10 22:04:04 +01:00
|
|
|
requestId: string,
|
|
|
|
|
loginRequired: boolean
|
2022-01-12 22:07:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface send {
|
|
|
|
|
message: object
|
|
|
|
|
requestId?: string
|
2022-01-12 22:10:42 +01:00
|
|
|
loginRequired?: boolean
|
2022-01-10 09:35:17 +01:00
|
|
|
}
|