Properties
Optional
body
body?: string | Buffer
chunks
chunks: any[] = []
encodedChunks
encodedChunks: any[] = []
isDirectStream
isDirectStream: boolean = false
isDownstreamInit
isDownstreamInit: boolean = false
isEnded
isEnded: boolean = false
isHeadersStreamed
isHeadersStreamed: boolean = false
isStreamableCallback
isStreamableCallback: (() => boolean) = ...
Type declaration
-
- (): boolean
-
Returns boolean
isStreaming
isStreaming: boolean = false
originalStream
originalStream: undefined | Writable = undefined
statusCode
statusCode: number
Optional
statusMessage
statusMessage?: string
Helper class useful for cases when: