Trait webkit2gtk::URISchemeRequestExt
source · pub trait URISchemeRequestExt: IsA<URISchemeRequest> + Sealed + 'static {
// Provided methods
fn finish(
&self,
stream: &impl IsA<InputStream>,
stream_length: i64,
content_type: Option<&str>
) { ... }
fn finish_error(&self, error: &mut Error) { ... }
fn finish_with_response(&self, response: &impl IsA<URISchemeResponse>) { ... }
fn http_body(&self) -> Option<InputStream> { ... }
fn http_headers(&self) -> Option<MessageHeaders> { ... }
fn http_method(&self) -> Option<GString> { ... }
fn path(&self) -> Option<GString> { ... }
fn scheme(&self) -> Option<GString> { ... }
fn uri(&self) -> Option<GString> { ... }
fn web_view(&self) -> Option<WebView> { ... }
}
Provided Methods§
fn finish( &self, stream: &impl IsA<InputStream>, stream_length: i64, content_type: Option<&str> )
sourcefn finish_error(&self, error: &mut Error)
fn finish_error(&self, error: &mut Error)
Available on crate feature
v2_2
only.sourcefn finish_with_response(&self, response: &impl IsA<URISchemeResponse>)
fn finish_with_response(&self, response: &impl IsA<URISchemeResponse>)
Available on crate feature
v2_36
only.sourcefn http_body(&self) -> Option<InputStream>
fn http_body(&self) -> Option<InputStream>
Available on crate feature
v2_40
only.sourcefn http_headers(&self) -> Option<MessageHeaders>
fn http_headers(&self) -> Option<MessageHeaders>
Available on crate feature
v2_36
only.sourcefn http_method(&self) -> Option<GString>
fn http_method(&self) -> Option<GString>
Available on crate feature
v2_36
only.fn path(&self) -> Option<GString>
fn scheme(&self) -> Option<GString>
fn uri(&self) -> Option<GString>
fn web_view(&self) -> Option<WebView>
Object Safety§
This trait is not object safe.