struct Protocol::Page::DownloadProgress

Overview

Fired when download makes progress. Last call has |done| == true. Deprecated. Use Browser.downloadProgress instead.

Included Modules

Defined in:

protocol/page.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def guid : String #

Global unique identifier of the download.


[View source]
def received_bytes : Number::Primitive #

Total bytes received.


[View source]
def state : String #

Download status.


[View source]
def total_bytes : Number::Primitive #

Total expected bytes to download.


[View source]