# SendResponseMiddleware Class

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

# Overview

class SendResponseMiddleware implements IMiddleware {
    protected converterService: ConverterService;
    constructor(converterService: ConverterService);
    use(req: Req, response: Res): Res;
    protected shouldBeSent(data: any): boolean;
    protected shouldBeStreamed(data: any): boolean;
}

# Description

See example to override SendResponseMiddleware here.

# Members

protected converterService: ConverterService

use(req: Req, response: Res): Res

protected shouldBeSent(data: any): boolean

protected shouldBeStreamed(data: any): boolean