# SocketHandlersBuilder Class

Module
import { SocketHandlersBuilder } from "@tsed/socketio/src/class/SocketHandlersBuilder"
Source/packages/socketio/src/class/SocketHandlersBuilder.ts

# Overview

class SocketHandlersBuilder {
    constructor(provider: Provider<any>, converterService: ConverterService, injector: InjectorService);
    build(nsps: Map<string, SocketIO.Namespace>): this;
    onConnection(socket: SocketIO.Socket, nsp: SocketIO.Namespace): void;
    onDisconnect(socket: SocketIO.Socket, nsp: SocketIO.Namespace): void;
}

# Members

build(nsps: Map<string, SocketIO.Namespace>): this

onConnection(socket: SocketIO.Socket, nsp: SocketIO.Namespace): void

onDisconnect(socket: SocketIO.Socket, nsp: SocketIO.Namespace): void