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§

source

fn content_length(&self) -> u64

source

fn http_headers(&self) -> Option<MessageHeaders>

Available on crate feature v2_6 only.
source

fn mime_type(&self) -> Option<GString>

source

fn status_code(&self) -> u32

source

fn suggested_filename(&self) -> Option<GString>

source

fn uri(&self) -> Option<GString>

source

fn connect_content_length_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_http_headers_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v2_6 only.
source

fn connect_mime_type_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_status_code_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_suggested_filename_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_uri_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§