This commit is contained in:
crusader 2018-07-10 15:41:20 +09:00
parent 39dc1708e1
commit df5309f896
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@loafer/ng-rpc",
"version": "0.0.9",
"version": "0.0.10",
"repository": {
"type": "git",
"url": "https://git.loafle.net/loafer/ng.git"

View File

@ -10,8 +10,9 @@ export interface RxWebsocketSubjectConfig<T = RPCMessage> extends WebSocketSubje
const DEFAULT_RX_WEBSOCKET_CONFIG: RxWebsocketSubjectConfig<any> = {
url: '',
deserializer: (e: MessageEvent) => e,
deserializer: (e: MessageEvent) => e.data,
serializer: (value: any) => value,
binaryType: 'arraybuffer',
reconnectInterval: 5000,
reconnectRetry: 10,
};