Evd.Connection¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The socket this HTTP connection will use |
||
r |
The underlaying SSL/TLS session object |
||
r |
Returns |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Evd.Connection(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(socket)¶
- Parameters:
socket (
Evd.Socket
) –- Return type:
- flush_and_shutdown(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) –
- get_remote_address_as_string()¶
- Raises:
- Return type:
- get_socket()¶
- Returns:
The
Evd.Socket
object- Return type:
- get_tls_session()¶
- Returns:
The
Evd.TlsSession
object- Return type:
- lock_close()¶
- set_socket(socket)¶
- Parameters:
socket (
Evd.Socket
) –
- starttls(mode, cancellable, callback, *user_data)¶
- Parameters:
mode (
Evd.TlsMode
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- starttls_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
- unlock_close()¶
- do_close() virtual¶
- do_write() virtual¶
Signal Details¶
- Evd.Connection.signals.write(connection)¶
- Signal Name:
write
- Flags:
- Parameters:
connection (
Evd.Connection
) – The object which received the signal
Property Details¶
- Evd.Connection.props.socket¶
- Name:
socket
- Type:
- Default Value:
- Flags:
The socket this HTTP connection will use
- Evd.Connection.props.tls¶
- Name:
tls
- Type:
- Default Value:
- Flags:
The underlaying SSL/TLS session object