gio.tcp_connection

Module for [TcpConnection] class

Types 3

This is the subclass of [gio.socket_connection.SocketConnection] that is created for TCP/IP sockets.

Methods
GType _gType() @property
TcpConnection self()Returns `this`, for use in `with` statements.
TcpConnectionGidBuilder builder()Get builder for [gio.tcp_connection.TcpConnection] Returns: New builder object
bool gracefulDisconnect() @propertyGet `gracefulDisconnect` property. Returns: Whether [gio.iostream.IOStream.close] does a graceful disconnect.
void gracefulDisconnect(bool propval) @propertySet `gracefulDisconnect` property. Params: propval = Whether [gio.iostream.IOStream.close] does a graceful disconnect.
bool getGracefulDisconnect()Checks if graceful disconnects are used. See [gio.tcp_connection.TcpConnection.setGracefulDisconnect]. Returns: true if graceful disconnect is used on close, false otherwise
void setGracefulDisconnect(bool gracefulDisconnect)This enables graceful disconnects on close. A graceful disconnect means that we signal the receiving end that the connection is terminated and wait for it to close the connection before closing the...
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T gracefulDisconnect(bool propval)Set `gracefulDisconnect` property. Params: propval = Whether [gio.iostream.IOStream.close] does a graceful disconnect. Returns: Builder instance for fluent chaining

Fluent builder for [gio.tcp_connection.TcpConnection]