Gio.TcpWrapperConnection¶
class — extends TcpConnection
A GTcpWrapperConnection can be used to wrap a IOStream that is
based on a Socket, but which is not actually a
SocketConnection. This is used by SocketClient so
that it can always return a SocketConnection, even when the
connection it has actually created is not directly a
SocketConnection.
Constructors¶
new¶
Wraps base_io_stream and socket together as a SocketConnection.
Parameters:
Methods¶
get_base_io_stream¶
Gets conn's base IOStream
Properties¶
base_io_stream¶
The wrapped IOStream.