Import line: | Soup = imports.gi.Soup; |
GIR File: | Soup-2.4.gir |
C documentation: | SoupClientContext |
Struct : | ClientContext |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
get_address
()
:
Soup.Address
Retrieves the SoupAddress associated with the remote end of a connection.
Retrieves the SoupAddress associated with the remote end of a connection. remote end of a connection.
|
Soup.ClientContext | |
get_auth_domain
()
:
Soup.AuthDomain
Checks whether the request associated with client has been authenticated, and if so returns the SoupAuthDomain that authenticated it.
Checks whether the request associated with client has been authenticated, and if so returns the SoupAuthDomain that authenticated it. NULL if the request was not authenticated.
|
Soup.ClientContext | |
get_auth_user
()
:
String
Checks whether the request associated with client has been authenticated, and if so returns the username that the client authenticated as.
Checks whether the request associated with client has been authenticated, and if so returns the username that the client authenticated as. was not authenticated.
|
Soup.ClientContext | |
get_host
()
:
String
Retrieves the IP address associated with the remote end of a connection.
Retrieves the IP address associated with the remote end of a connection. (If you want the actual hostname, you'll have to call soup_client_context_get_address() and then call the appropriate SoupAddress method to resolve it.) connection.
|
Soup.ClientContext | |
get_socket
()
:
Soup.Socket
Retrieves the SoupSocket that client is associated with.
Retrieves the SoupSocket that client is associated with. If you are using this method to observe when multiple requests are made on the same persistent HTTP connection (eg, as the ntlm-test test program does), you will need to pay attention to socket destruction as well (either by using weak references, or by connecting to the SoupSocket::disconnected signal), so that you do not get fooled when the allocator reuses the memory address of a previously-destroyed socket to represent a new socket. associated with.
|
Soup.ClientContext |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Soup.Server
Signal |
|
Soup.Server
Signal |
|
Soup.Server
Signal |
|
Soup.Server
Signal |
|