# ISocketProviderMetadata Interface

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

# Overview

interface ISocketProviderMetadata {
    type: SocketProviderTypes;
    error?: boolean;
    namespace?: string;
    injectNamespaces?: {
        propertyKey: string;
        nsp: string;
    }[];
    useBefore?: any[];
    useAfter?: any[];
    handlers: {
        [propertyKey: string]: ISocketHandlerMetadata;
    };
}

# Members


error?: boolean

namespace?: string

injectNamespaces?: {
     propertyKey: string;
     nsp: string;
 }[];

useBefore?: any[]

useAfter?: any[]

handlers: {
     [propertyKey: string]: ISocketHandlerMetadata;
 };