Custom IncomingMessage
AlexLanes opened this issue · comments
A server with custom IncomingMessage does not work. All requests are aborted.
createServer({
IncomingMessage: Request,
ServerResponse: Response
})
export class Request extends IncomingMessage {
constructor(){
super()
this.body = {}
this.parâmetros = {
método: "",
caminho: "",
operação: "",
headers: {},
querys: {},
variáveis: {},
arquivos: []
}
}
}
is there a way to add support for this ?
Edit: I found that busboy
read fields but never emit a "close" event
busboy !== formidable