Import line: | Soup = imports.gi.Soup; |
GIR File: | Soup-2.4.gir |
C documentation: | SoupURI |
Struct : | URI |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
fragment : String
|
Soup.URI | |
host : String
|
Soup.URI | |
password : String
|
Soup.URI | |
path : String
|
Soup.URI | |
port : Number
|
Soup.URI | |
query : String
|
Soup.URI | |
scheme : String
|
Soup.URI | |
user : String
|
Soup.URI |
Method / Constructor | Defined By | |
---|---|---|
new Soup.URI
()
Create a new Soup.URI
Create a new Soup.URI
|
||
copy
()
:
Soup.URI
Copies uri
Copies uri
|
Soup.URI | |
copy_host
()
:
Soup.URI
Makes a copy of uri, considering only the protocol, host, and port
Makes a copy of uri, considering only the protocol, host, and port
|
Soup.URI | |
Soup.URI | ||
free
()
:
none
Frees uri.
Frees uri.
|
Soup.URI | |
get_fragment
()
:
String
Gets uri's fragment.
Gets uri's fragment.
|
Soup.URI | |
get_host
()
:
String
Gets uri's host.
Gets uri's host.
|
Soup.URI | |
get_password
()
:
String
Gets uri's password.
Gets uri's password.
|
Soup.URI | |
get_path
()
:
String
Gets uri's path.
Gets uri's path.
|
Soup.URI | |
get_port
()
:
Number
Gets uri's port.
Gets uri's port.
|
Soup.URI | |
get_query
()
:
String
Gets uri's query.
Gets uri's query.
|
Soup.URI | |
get_scheme
()
:
String
Gets uri's scheme.
Gets uri's scheme.
|
Soup.URI | |
get_user
()
:
String
Gets uri's user.
Gets uri's user.
|
Soup.URI | |
set_fragment
(String fragment)
:
none
Sets uri's fragment to fragment.
Sets uri's fragment to fragment.
|
Soup.URI | |
set_host
(String host)
:
none
Sets uri's host to host.
Sets uri's host to host. If host is an IPv6 IP address, it should not include the brackets required by the URI syntax; they will be added automatically when converting uri to a string.
|
Soup.URI | |
set_password
(String password)
:
none
Sets uri's password to password.
Sets uri's password to password.
|
Soup.URI | |
set_path
(String path)
:
none
Sets uri's path to path.
Sets uri's path to path.
|
Soup.URI | |
set_port
(Number port)
:
none
Sets uri's port to port.
Sets uri's port to port. If port is 0, uri will not have an explicitly-specified port.
|
Soup.URI | |
set_query
(String query)
:
none
Sets uri's query to query.
Sets uri's query to query.
|
Soup.URI | |
set_query_from_form
(Object form)
:
none
Sets uri's query to the result of encoding form according to the HTML form rules.
Sets uri's query to the result of encoding form according to the HTML form rules. See soup_form_encode_hash() for more information.
|
Soup.URI | |
set_scheme
(String scheme)
:
none
Sets uri's scheme to scheme.
Sets uri's scheme to scheme. This will also set uri's port to the default port for scheme, if known.
|
Soup.URI | |
set_user
(String user)
:
none
Sets uri's user to user.
Sets uri's user to user.
|
Soup.URI | |
Returns a string representing uri.
|
Soup.URI | |
uses_default_port
()
:
Boolean
Tests if uri uses the default port for its scheme.
Tests if uri uses the default port for its scheme. (Eg, 80 for http.) (This only works for http and https; libsoup does not know the default ports of other protocols.)
|
Soup.URI |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GUPnP.DeviceInfo
Method |
get_url_base
()
:
Soup.URI
|
GUPnP.ServiceInfo
Method |
get_url_base
()
:
Soup.URI
|
Soup
Method |
Parses header and returns a SoupCookie.
|
Soup.Auth
Method |
response to.
|
Soup.Connection
Property |
proxy_uri : Soup.URI
|
Soup.Connection
Method |
get_proxy_uri
()
:
Soup.URI
|
Soup.Cookie
Method |
Tests if cookie should be sent to uri.
|
Soup.CookieJar
Method |
to an HTTP operation Retrieves (in Cookie-header form) the list of cookies that would be sent with a request to uri.
|
Soup.CookieJar
Method |
Adds cookie to jar, exactly as though it had appeared in a Set-Cookie header returned from a request to uri.
|
Soup.CookieJar
Method |
Adds cookie to jar, exactly as though it had appeared in a Set-Cookie header returned from a request to uri.
|
Soup.Message
Property |
first_party : Soup.URI
|
Soup.Message
Property |
uri : Soup.URI
|
Soup.Message
Method |
Create a new Soup.Message
|
Soup.Message
Method |
get_uri
()
:
Soup.URI
Gets msg's URI
|
Soup.Message
Method |
set_uri
(URI uri)
:
none
Sets msg's URI to uri.
|
Soup.Message
Method |
get_first_party
()
:
Soup.URI
|
Soup.Message
Method |
set_first_party
(URI first_party)
:
none
Sets first_party as the main document SoupURI for msg.
|
Soup.ProxyResolverStatic
Property |
proxy_uri : Soup.URI
|
Soup.ProxyResolverStatic
Method |
Create a new Soup.ProxyResolverStatic
|
Soup.ProxyURIResolver
Method |
get_proxy_uri_async
(URI uri, MainContext async_context, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously determines a proxy URI to use for msg and calls
|
Soup.ProxyURIResolver
Method |
Synchronously determines a proxy URI to use for uri.
|
Soup.Session
Property |
proxy_uri : Soup.URI
|
Soup.Session
Method |
prepare_for_uri
(URI uri)
:
none
|