• 개요
@angular/common/http

HttpProgressEvent

인터페이스
안정화

Base interface for progress events.

API

    
      interface HttpProgressEvent {}
    
    

type

HttpEventType.UploadProgress | HttpEventType.DownloadProgress

Progress event type is either upload or download.

loaded

number

Number of bytes uploaded or downloaded.

total

number | undefined

Total number of bytes to upload or download. Depending on the request or response, this may not be computable and thus may not be present.

상세 내용으로 이동