struct Protocol::Browser::DownloadWillBegin

Overview

Fired when page is about to start a download.

Included Modules

Defined in:

protocol/browser.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def frame_id : Page::FrameId #

Id of the frame that caused the download to begin.


[View source]
def guid : String #

Global unique identifier of the download.


[View source]
def suggested_filename : String #

Suggested file name of the resource (the actual name of the file saved on disk may differ).


[View source]
def url : String #

URL of the resource being downloaded.


[View source]