ClientContext


Object Hierarchy:

Soup.ClientContext Soup.ClientContext Soup.ClientContext

Description:

[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "soup_client_context_get_type ()" ) ]
[ Compact ]
public class ClientContext

A ClientContext provides additional information about the client making a particular request.

In particular, you can use get_auth_domain and get_auth_user to determine if HTTP authentication was used successfully.

get_remote_address and/or get_host can be used to get information for logging or debugging purposes. get_gsocket may also be of use in some situations (eg, tracking when multiple requests are made on the same connection).


Namespace: Soup
Package: libsoup-2.4

Content:

Methods:




2022 vala-language.org