# ISocketHandlerMetadata Interface

Module
import { ISocketHandlerMetadata } from "@tsed/socketio"
Source/packages/socketio/src/interfaces/ISocketHandlerMetadata.ts

# Overview

interface ISocketHandlerMetadata {
    eventName?: string;
    methodClassName: string;
    useBefore?: any[];
    useAfter?: any[];
    parameters?: {
        [key: number]: ISocketParamMetadata;
    };
    returns?: {
        type: SocketReturnsTypes;
        eventName: string;
    };
}

# Members

eventName?: string;

methodClassName: string;

useBefore?: any[];

useAfter?: any[];

parameters?: {
     [key: number]: ISocketParamMetadata;
 };

returns?: {
     type: SocketReturnsTypes;
     eventName: string;
 };

Other topics