GObject.Object
Soup.Connection
| Import line: | Soup = imports.gi.Soup; |
| GIR File: | Soup-2.4.gir |
| C documentation: | SoupConnection |
| Class : | Connection |
| Extends: | GObject.Object |
| Show / Hide Inherited methods, properties and signals |
| Properties | Defined By | |
|---|---|---|
|
async_context : void*
|
Soup.Connection | |
|
idle_timeout : Number
|
Soup.Connection | |
|
message : Soup.Message
read only
|
Soup.Connection | |
|
parent : GObject.Object
read only
|
Soup.Connection | |
|
proxy_uri : Soup.URI
|
Soup.Connection | |
|
remote_address : Soup.Address
|
Soup.Connection | |
|
ssl_creds : void*
|
Soup.Connection | |
|
ssl_strict : Boolean
|
Soup.Connection | |
|
state : Soup.ConnectionState
|
Soup.Connection | |
|
timeout : Number
|
Soup.Connection | |
|
tunnel_address : Soup.Address
|
Soup.Connection | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new Soup.Connection
(Object properties)
Create a new Soup.Connection
Create a new Soup.Connection
|
||
|
Asynchronously connects conn.
Asynchronously connects conn.
|
Soup.Connection | |
|
connect_sync
()
:
Number
Synchronously connects conn.
Synchronously connects conn.
|
Soup.Connection | |
|
disconnect
()
:
none
Disconnects conn's socket and emits a disconnected signal.
Disconnects conn's socket and emits a disconnected signal. After calling this, conn will be essentially useless.
|
Soup.Connection | |
|
get_proxy_uri
()
:
Soup.URI
|
Soup.Connection | |
|
get_socket
()
:
Soup.Socket
|
Soup.Connection | |
|
get_state
()
:
Soup.ConnectionState
|
Soup.Connection | |
|
get_tunnel_addr
()
:
Soup.Address
|
Soup.Connection | |
|
send_request
(Message req)
:
none
Sends req on conn.
Sends req on conn. This is a low-level function, intended for use by SoupSession.
|
Soup.Connection | |
|
set_state
(ConnectionState state)
:
none
|
Soup.Connection | |
|
start_ssl
()
:
Boolean
|
Soup.Connection | |
| Event | Defined By | |
|---|---|---|
|
disconnected (Connection self)
:
none
|
Soup.Connection | |
| Class / Namespace | Method / Signal / Properties |
|---|---|
|
Soup.Message
Method |
|
|
Soup.Message
Method |
io_client
(Socket sock, Connection conn, Function get_headers_cb, Function parse_headers_cb, void* user_data)
:
none
|
|
Soup.Session
Method |
Tries to find or create a connection for item; this is an internal method for SoupSession subclasses.
|
|
Soup.Session
Method |
connection_failed
(Connection conn, Number status)
:
none
|
|
Soup.Session
Method |
send_queue_item
(MessageQueueItem item, Connection conn)
:
none
|