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
TcpWrapperConnection self()Returns `this`, for use in `with` statements.TcpWrapperConnectionGidBuilder builder()Get builder for [gio.tcpwrapperconnection.TcpWrapperConnection] Returns: New builder objectgio.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 #GIOStreamConstructors
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 chainingclassTcpWrapperConnectionGidBuilder : TcpWrapperConnectionGidBuilderImpl!TcpWrapperConnectionGidBuilder
Fluent builder for [gio.tcp_wrapper_connection.TcpWrapperConnection]
Methods