TcpWrapperConnection#
Added in version 2.28.
Superclasses: TcpConnection
, SocketConnection
, IOStream
, Object
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#
- class TcpWrapperConnection
- classmethod new(base_io_stream: IOStream, socket: Socket) SocketConnection #
Wraps
base_io_stream
andsocket
together as aSocketConnection
.Added in version 2.28.