die heldin script add
This commit is contained in:
119
node_modules/@stomp/stompjs/esm6/stomp-config.d.ts
generated
vendored
Normal file
119
node_modules/@stomp/stompjs/esm6/stomp-config.d.ts
generated
vendored
Normal file
@@ -0,0 +1,119 @@
|
||||
import { StompHeaders } from './stomp-headers';
|
||||
import { ActivationState, closeEventCallbackType, debugFnType, frameCallbackType, messageCallbackType, wsErrorCallbackType } from './types';
|
||||
import { Versions } from './versions';
|
||||
/**
|
||||
* Configuration options for STOMP Client, each key corresponds to
|
||||
* field by the same name in {@link Client}. This can be passed to
|
||||
* the constructor of {@link Client} or to [Client#configure]{@link Client#configure}.
|
||||
*
|
||||
* There used to be a class with the same name in `@stomp/ng2-stompjs`, which has been replaced by
|
||||
* {@link RxStompConfig} and {@link InjectableRxStompConfig}.
|
||||
*
|
||||
* Part of `@stomp/stompjs`.
|
||||
*/
|
||||
export declare class StompConfig {
|
||||
/**
|
||||
* See [Client#brokerURL]{@link Client#brokerURL}.
|
||||
*/
|
||||
brokerURL?: string;
|
||||
/**
|
||||
* See See [Client#stompVersions]{@link Client#stompVersions}.
|
||||
*/
|
||||
stompVersions?: Versions;
|
||||
/**
|
||||
* See [Client#webSocketFactory]{@link Client#webSocketFactory}.
|
||||
*/
|
||||
webSocketFactory?: () => any;
|
||||
/**
|
||||
* See [Client#connectionTimeout]{@link Client#connectionTimeout}.
|
||||
*/
|
||||
connectionTimeout?: number;
|
||||
/**
|
||||
* See [Client#reconnectDelay]{@link Client#reconnectDelay}.
|
||||
*/
|
||||
reconnectDelay?: number;
|
||||
/**
|
||||
* See [Client#heartbeatIncoming]{@link Client#heartbeatIncoming}.
|
||||
*/
|
||||
heartbeatIncoming?: number;
|
||||
/**
|
||||
* See [Client#heartbeatOutgoing]{@link Client#heartbeatOutgoing}.
|
||||
*/
|
||||
heartbeatOutgoing?: number;
|
||||
/**
|
||||
* See [Client#splitLargeFrames]{@link Client#splitLargeFrames}.
|
||||
*/
|
||||
splitLargeFrames?: boolean;
|
||||
/**
|
||||
* See [Client#forceBinaryWSFrames]{@link Client#forceBinaryWSFrames}.
|
||||
*/
|
||||
forceBinaryWSFrames?: boolean;
|
||||
/**
|
||||
* See [Client#appendMissingNULLonIncoming]{@link Client#appendMissingNULLonIncoming}.
|
||||
*/
|
||||
appendMissingNULLonIncoming?: boolean;
|
||||
/**
|
||||
* See [Client#maxWebSocketChunkSize]{@link Client#maxWebSocketChunkSize}.
|
||||
*/
|
||||
maxWebSocketChunkSize?: number;
|
||||
/**
|
||||
* See [Client#connectHeaders]{@link Client#connectHeaders}.
|
||||
*/
|
||||
connectHeaders?: StompHeaders;
|
||||
/**
|
||||
* See [Client#disconnectHeaders]{@link Client#disconnectHeaders}.
|
||||
*/
|
||||
disconnectHeaders?: StompHeaders;
|
||||
/**
|
||||
* See [Client#onUnhandledMessage]{@link Client#onUnhandledMessage}.
|
||||
*/
|
||||
onUnhandledMessage?: messageCallbackType;
|
||||
/**
|
||||
* See [Client#onUnhandledReceipt]{@link Client#onUnhandledReceipt}.
|
||||
*/
|
||||
onUnhandledReceipt?: frameCallbackType;
|
||||
/**
|
||||
* See [Client#onUnhandledFrame]{@link Client#onUnhandledFrame}.
|
||||
*/
|
||||
onUnhandledFrame?: frameCallbackType;
|
||||
/**
|
||||
* See [Client#beforeConnect]{@link Client#beforeConnect}.
|
||||
*/
|
||||
beforeConnect?: () => void | Promise<void>;
|
||||
/**
|
||||
* See [Client#onConnect]{@link Client#onConnect}.
|
||||
*/
|
||||
onConnect?: frameCallbackType;
|
||||
/**
|
||||
* See [Client#onDisconnect]{@link Client#onDisconnect}.
|
||||
*/
|
||||
onDisconnect?: frameCallbackType;
|
||||
/**
|
||||
* See [Client#onStompError]{@link Client#onStompError}.
|
||||
*/
|
||||
onStompError?: frameCallbackType;
|
||||
/**
|
||||
* See [Client#onWebSocketClose]{@link Client#onWebSocketClose}.
|
||||
*/
|
||||
onWebSocketClose?: closeEventCallbackType;
|
||||
/**
|
||||
* See [Client#onWebSocketError]{@link Client#onWebSocketError}.
|
||||
*/
|
||||
onWebSocketError?: wsErrorCallbackType;
|
||||
/**
|
||||
* See [Client#logRawCommunication]{@link Client#logRawCommunication}.
|
||||
*/
|
||||
logRawCommunication?: boolean;
|
||||
/**
|
||||
* See [Client#debug]{@link Client#debug}.
|
||||
*/
|
||||
debug?: debugFnType;
|
||||
/**
|
||||
* See [Client#discardWebsocketOnCommFailure]{@link Client#discardWebsocketOnCommFailure}.
|
||||
*/
|
||||
discardWebsocketOnCommFailure?: boolean;
|
||||
/**
|
||||
* See [Client#onChangeState]{@link Client#onChangeState}.
|
||||
*/
|
||||
onChangeState?: (state: ActivationState) => void;
|
||||
}
|
||||
Reference in New Issue
Block a user