ing
This commit is contained in:
parent
ff0bc61c78
commit
213f4ba8e2
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@loafer/ng-rpc",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.7",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.loafle.net/loafer/ng.git"
|
||||
|
|
|
@ -4,9 +4,8 @@ import { WebSocketSubject, WebSocketSubjectConfig } from 'rxjs/webSocket';
|
|||
import { RPCMessage } from '../../../core/type';
|
||||
|
||||
export interface RxWebsocketSubjectConfig<T = RPCMessage> extends WebSocketSubjectConfig<T> {
|
||||
reconnectInterval?: 5000;
|
||||
reconnectRetry?: 10;
|
||||
compressionThreshold?: 1024;
|
||||
reconnectInterval?: number;
|
||||
reconnectRetry?: number;
|
||||
}
|
||||
|
||||
const DEFAULT_RX_WEBSOCKET_CONFIG: RxWebsocketSubjectConfig<any> = {
|
||||
|
@ -26,7 +25,6 @@ const DEFAULT_RX_WEBSOCKET_CONFIG: RxWebsocketSubjectConfig<any> = {
|
|||
},
|
||||
reconnectInterval: 5000,
|
||||
reconnectRetry: 10,
|
||||
compressionThreshold: 1024,
|
||||
};
|
||||
|
||||
export class RxWebsocketSubject extends Subject<RPCMessage> {
|
||||
|
|
|
@ -8,6 +8,9 @@ export * from './lib/client/rwc/websocket/RPCClientWebsocketRWC';
|
|||
export * from './lib/client/rwc/websocket/RxWebsocketSubject';
|
||||
export * from './lib/core/error';
|
||||
export * from './lib/core/token';
|
||||
export * from './lib/core/type';
|
||||
export * from './lib/codec/codec';
|
||||
export * from './lib/codec/compression_codec';
|
||||
export * from './lib/decorator/rpc-subscriber.decorator';
|
||||
export * from './lib/protocol/RPCClientCodec';
|
||||
export * from './lib/protocol/RPCError';
|
||||
|
|
Loading…
Reference in New Issue
Block a user