libsoup is an HTTP client/server library for GNOME. It uses GObjects and the glib main loop, to integrate well with GNOME applications.
SOUP_TLD_ERROR
.SoupAuthDomain:add-path
property.
SoupAuthDomain:remove-path
property.
SoupMessage:request-body
property.
SoupMessage:request-body-data
property.
SoupMessage:request-headers
s property.
SoupMessage:response-body
property.
SoupMessage:response-body-data
property.
SoupMessage:response-headers
s property.
function
to be executed from inside
async_context
with the default priority.
g_idle_add
, but using the
given async_context
.
async_context
.
g_timeout_add
, but using the
given async_context
.
header
and returns a
Cookie.
msg
's Cookie request header and returns a
SList of Cookies.
msg
's Set-Cookie response headers and returns a
SList of Cookies.
cookies
to
msg
's "Cookie" request.
msg
for each
cookie in cookies
.
header
to see if it contains the token
token
(matched case-insensitively).
param_list
.
name
=value
to string
, taking care to quote value
if needed, and if so, to escape any quotes or backslashes in
value
.
name
="value
"
to string
, taking care to escape any quotes or backslashes in value
.
str
and stores the results in dest
.
str
and stores
the results in req_method
, req_path
, ver
, and req_headers
.
str
and
stores the results in ver
, status_code
, reason_phrase
, and headers
.
status_line
into
ver
, status_code
, and reason_phrase
.
v1
and v2
in a case-insensitive
manner
key
in a case-insensitive manner.
domain
passed as argument is a public
domain suffix (.
hostname
.
typeof (
unichar2)
-decodes part
.
typeof (
unichar2)
-encodes the given URI part and returns the escaped version in allocated memory, which
the caller must free when it is done.
typeof (
unichar2)
-decodes any "unreserved" characters (or characters in unescape_extra
) in
part
, and typeof (unichar2)
-encodes any
non-ASCII characters, spaces, and non-printing characters in part
.
type
to array
as with append.
array
as with
append.
index_
element of array
and
stores its value into the provided location.
type
into
array
as with insert.
type
into hash
.
hash
.
value
into hash
.
key
in hash
and stores its value
into the provided location.
hash
and returns their
values.
msg
to request a
WebSocket handshake.
msg
to request a
WebSocket handshake including supported WebSocket extensions.
msg
and determines if they contain a valid WebSocket handshake response (given the handshake request in msg
's request
headers).
msg
and determines if they contain a valid WebSocket handshake response (given the handshake request in msg
's request
headers).
msg
and
determines whether msg
contains a valid handshake request.
msg
and
determines whether msg
contains a valid handshake request.
msg
and
(assuming msg
contains a valid handshake request), fills in the handshake response.
msg
and
(assuming msg
contains a valid handshake request), fills in the handshake response.
form
, which is an urlencoded dataset as defined
in the HTML 4.01 spec.
msg
; this
is a convenience method for the case when you have a single file upload control in a form.
form_data_set
into a value of type
"application/x-www-form-urlencoded", as defined in the HTML 4.01 spec.
form_data_set
into a value of type
"application/x-www-form-urlencoded", as defined in the HTML 4.01 spec.
uri
via method
.
form_data_set
to uri
via method
, as with
request_new.
form_data_set
to uri
via method
, as with
request_new.
multipart
to uri
via POST.
method_call
to get the name and parameters, and
puts the parameters into variables of the appropriate types.
method_response
and extracts the return value
into a variable of the correct type.
msg
to
indicate an unsuccessful XML-RPC call, with the error described by fault_code
and fault_format
.
msg
to
indicate a successful XML-RPC call, with a return value given by value
.
method_call
to get the name and parameters, and
returns the parameter values in a ValueArray; see also
extract_method_call, which is more convenient if you know in
advance what the types of the parameters will be.
method_response
and returns the return value in
value
.
method_call
and return the method name.
method_response
and returns the return value.
msg
to
indicate an unsuccessful XML-RPC call, with the error described by fault_code
and fault_format
.
msg
to
indicate a successful XML-RPC call, with a return value given by type
and the following varargs argument, of the type
indicated by type
.