TcpWrapperConnection

Added in version 2.28.

class TcpWrapperConnection(**properties: Any)

Superclasses: TcpConnection, SocketConnection, IOStream, Object

Constructors:

TcpWrapperConnection(**properties)
new(base_io_stream:Gio.IOStream, socket:Gio.Socket) -> Gio.SocketConnection

Constructors

class TcpWrapperConnection
classmethod new(base_io_stream: IOStream, socket: Socket) SocketConnection

Wraps base_io_stream and socket together as a SocketConnection.

Added in version 2.28.

Parameters:
  • base_io_stream – the IOStream to wrap

  • socket – the Socket associated with base_io_stream

Methods

class TcpWrapperConnection
get_base_io_stream() IOStream

Gets conn’s base IOStream

Properties

class TcpWrapperConnection
props.base_io_stream: IOStream

The wrapped IOStream.

Added in version 2.28.

Fields

class TcpWrapperConnection
parent_instance
priv