pub trait URIRequestExt: 'static {
    fn http_method(&self) -> Option<GString>;
    fn uri(&self) -> Option<GString>;
    fn set_uri(&self, uri: &str);
    fn connect_uri_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
}
Expand description

Trait containing all URIRequest methods.

Implementors

URIRequest

Required Methods

Available on crate feature v2_12 only.

Get the HTTP method of the URIRequest.

Returns

the HTTP method of the URIRequest or None if self is not an HTTP request.

Obtains the request URI.

Returns

request URI, as a string.

Set the URI of self

uri

an URI

Implementors