# All files / websockets constants.ts

100% Statements 12/12
100% Branches 0/0
100% Functions 0/0
100% Lines 12/12

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    141x
    1x
    1x
    1x
    1x
    1x
    1x
    1x

    1x
    1x
    1x
    1x
     export const MESSAGE_MAPPING_METADATA = '__isMessageMapping';
    export const MESSAGE_METADATA = 'message';
    export const GATEWAY_SERVER_METADATA = '__isSocketServer';
    export const GATEWAY_METADATA = '__isGateway';
    export const NAMESPACE_METADATA = 'namespace';
    export const PORT_METADATA = 'port';
    export const GATEWAY_MIDDLEWARES = '__gatewayMiddleware';
    export const GATEWAY_OPTIONS = '__gatewayOptions';

    export const CONNECTION_EVENT = 'connection';
    export const DISCONNECT_EVENT = 'disconnect';
    export const CLOSE_EVENT = 'close';
    export const ERROR_EVENT = 'error';