UNPKG

wampy

Version:

Amazingly fast, feature-rich, lightweight WAMP Javascript client (for browser and node.js)

37 lines (35 loc) 1.04 kB
declare const WAMP_MSG_SPEC: { readonly HELLO: 1; readonly WELCOME: 2; readonly ABORT: 3; readonly CHALLENGE: 4; readonly AUTHENTICATE: 5; readonly GOODBYE: 6; readonly ERROR: 8; readonly PUBLISH: 16; readonly PUBLISHED: 17; readonly SUBSCRIBE: 32; readonly SUBSCRIBED: 33; readonly UNSUBSCRIBE: 34; readonly UNSUBSCRIBED: 35; readonly EVENT: 36; readonly CALL: 48; readonly CANCEL: 49; readonly RESULT: 50; readonly REGISTER: 64; readonly REGISTERED: 65; readonly UNREGISTER: 66; readonly UNREGISTERED: 67; readonly INVOCATION: 68; readonly INTERRUPT: 69; readonly YIELD: 70; }; declare const SUCCESS: { readonly code: 0; readonly error: null; }; declare const WAMP_ERROR_MSG: Record<string, string>; declare const E2EE_SERIALIZERS: readonly string[]; declare const isNode: boolean; declare const WAMP_CUSTOM_ATTR_REGEX: RegExp; export { E2EE_SERIALIZERS, SUCCESS, WAMP_CUSTOM_ATTR_REGEX, WAMP_ERROR_MSG, WAMP_MSG_SPEC, isNode };