ing
This commit is contained in:
parent
39dc1708e1
commit
df5309f896
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@loafer/ng-rpc",
|
"name": "@loafer/ng-rpc",
|
||||||
"version": "0.0.9",
|
"version": "0.0.10",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.loafle.net/loafer/ng.git"
|
"url": "https://git.loafle.net/loafer/ng.git"
|
||||||
|
|
|
@ -10,8 +10,9 @@ export interface RxWebsocketSubjectConfig<T = RPCMessage> extends WebSocketSubje
|
||||||
|
|
||||||
const DEFAULT_RX_WEBSOCKET_CONFIG: RxWebsocketSubjectConfig<any> = {
|
const DEFAULT_RX_WEBSOCKET_CONFIG: RxWebsocketSubjectConfig<any> = {
|
||||||
url: '',
|
url: '',
|
||||||
deserializer: (e: MessageEvent) => e,
|
deserializer: (e: MessageEvent) => e.data,
|
||||||
serializer: (value: any) => value,
|
serializer: (value: any) => value,
|
||||||
|
binaryType: 'arraybuffer',
|
||||||
reconnectInterval: 5000,
|
reconnectInterval: 5000,
|
||||||
reconnectRetry: 10,
|
reconnectRetry: 10,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user