Class: SizeLimitedReadableStream
@divine/commons.SizeLimitedReadableStream
Hierarchy
Transform
↳
SizeLimitedReadableStream
Constructors
constructor
• new SizeLimitedReadableStream(_maxContentLength
, _makeError
, opts?
)
Parameters
Name | Type |
---|---|
_maxContentLength | number |
_makeError | () => Error |
opts? | TransformOptions |
Overrides
Transform.constructor
Defined in
Methods
_flush
▸ _flush(callback
): void
Parameters
Name | Type |
---|---|
callback | TransformCallback |
Returns
void
Overrides
Transform._flush
Defined in
_transform
▸ _transform(chunk
, _encoding
, callback
): void
Parameters
Name | Type |
---|---|
chunk | unknown |
_encoding | string |
callback | TransformCallback |
Returns
void
Overrides
Transform._transform