gio.tcp_wrapper_connection

Module for [TcpWrapperConnection] class

Types 3

A [gio.tcp_wrapper_connection.TcpWrapperConnection] can be used to wrap a [gio.iostream.IOStream] that is based on a [gio.socket.Socket], but which is not actually a [gio.socket_connection.SocketConnection]. This is used by [gio.socket_client.SocketClient] so that it can always return a [gio.socket_connection.SocketConnection], even when the connection it has actually created is not directly a [gio.socket_connection.SocketConnection].

Methods
GType _gType() @property
TcpWrapperConnection self()Returns `this`, for use in `with` statements.
TcpWrapperConnectionGidBuilder builder()Get builder for [gio.tcpwrapperconnection.TcpWrapperConnection] Returns: New builder object
gio.iostream.IOStream baseIoStream() @propertyGet `baseIoStream` property. Returns: The wrapped [gio.iostream.IOStream].
gio.iostream.IOStream getBaseIoStream()Gets conn's base #GIOStream Returns: conn's base #GIOStream
Constructors
this(void * ptr, Flag!"Take" take)
this(gio.iostream.IOStream baseIoStream, gio.socket.Socket socket)Wraps baseiostream and socket together as a #GSocketConnection.
Methods
T baseIoStream(gio.iostream.IOStream propval)Set `baseIoStream` property. Params: propval = The wrapped [gio.iostream.IOStream]. Returns: Builder instance for fluent chaining

Fluent builder for [gio.tcp_wrapper_connection.TcpWrapperConnection]