Trait webkit2gtk::URIResponseExt
source · [−]pub trait URIResponseExt: 'static {
fn content_length(&self) -> u64;
fn mime_type(&self) -> Option<GString>;
fn status_code(&self) -> u32;
fn suggested_filename(&self) -> Option<GString>;
fn uri(&self) -> Option<GString>;
fn connect_content_length_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_mime_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_status_code_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_suggested_filename_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_uri_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}