# HandlerContext Class

Module
import { HandlerContext } from "@tsed/common"
Source/packages/common/src/platform/domain/HandlerContext.ts

# Overview

class HandlerContext {
    injector: InjectorService;
    metadata: HandlerMetadata;
    request: any;
    response: any;
    err: any;
    args: any[];
    get isDone(): boolean;
    get container(): any;
    done(error: any, result?: any): any;
    handle(process: any): any;
    callHandler(): Promise<void>;
    next(error?: any): any;
    destroy(): void;
}

# Members

injector: InjectorService

metadata: HandlerMetadata

request: any

response: any

err: any

args: any[]

get isDone(): boolean

get container(): any

done(error: any, result?: any): any

handle(process: any): any

callHandler(): Promise<void>

next(error?: any): any

destroy(): void