make HTTP server unit more configurable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-04-12 11:43:06 -05:00
parent aca4c8aa4d
commit 574ddbe9cb
3 changed files with 28 additions and 5 deletions

View File

@@ -90,6 +90,9 @@ export class Request extends ScopedContainer {
/** Files parsed from the request. */
public readonly uploadedFiles: {[key: string]: UniversalPath} = {}
/** If true, the response lifecycle will not time out and send errors. */
public bypassTimeout: boolean = false
constructor(
/** The native Node.js request. */
protected clientRequest: IncomingMessage,