Server IP : 150.95.80.236 / Your IP : 3.145.158.95 Web Server : Apache System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : social-telecare ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pcu.in.th/api-uat.pcu.in.th/node_modules/@nestjs/common/file-stream/ |
Upload File : |
/// <reference types="node" /> import { Readable } from 'stream'; import { StreamableFileOptions, StreamableHandlerResponse } from './interfaces'; import { Logger } from '../services'; /** * @see [Streaming files](https://docs.nestjs.com/techniques/streaming-files) * * @publicApi */ export declare class StreamableFile { readonly options: StreamableFileOptions; private readonly stream; protected logger: Logger; protected handleError: (err: Error, response: StreamableHandlerResponse) => void; protected logError: (err: Error) => void; constructor(buffer: Uint8Array, options?: StreamableFileOptions); constructor(readable: Readable, options?: StreamableFileOptions); getStream(): Readable; getHeaders(): { type: string; disposition: string; length: number; }; get errorHandler(): (err: Error, response: StreamableHandlerResponse) => void; setErrorHandler(handler: (err: Error, response: StreamableHandlerResponse) => void): this; get errorLogger(): (err: Error) => void; setErrorLogger(handler: (err: Error) => void): this; }