Trait webkit2gtk::URIResponseExt
source · pub trait URIResponseExt: IsA<URIResponse> + Sealed + 'static {
// Provided methods
fn content_length(&self) -> u64 { ... }
fn http_headers(&self) -> Option<MessageHeaders> { ... }
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_http_headers_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 { ... }
}
Provided Methods§
fn content_length(&self) -> u64
sourcefn http_headers(&self) -> Option<MessageHeaders>
fn http_headers(&self) -> Option<MessageHeaders>
Available on crate feature
v2_6
only.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
sourcefn connect_http_headers_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_http_headers_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_6
only.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
Object Safety§
This trait is not object safe.