UNPKG

@aiozstream/nodejs-client

Version:
14 lines (13 loc) 437 B
import { ApiResponseHeaders } from '../HttpClient'; export default interface ProgressiveSession<T> { uploadPart(file: string): Promise<T>; uploadPartWithResponseHeaders(file: string): Promise<{ headers: ApiResponseHeaders; body: T; }>; uploadLastPart(file: string): Promise<T>; uploadLastPartWithResponseHeaders(file: string): Promise<{ headers: ApiResponseHeaders; body: T; }>; }