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 _getGType() static nothrow
GType _gType() @property nothrow
TcpConnection self() nothrowReturns `this`, for use in `with` statements.
TcpConnectionGidBuilder builder() static nothrowGet builder for [gio.tcp_connection.TcpConnection] Returns: New builder object
bool gracefulDisconnect() @property nothrowGet `gracefulDisconnect` property. Returns: Whether [gio.iostream.IOStream.close] does a graceful disconnect.
void gracefulDisconnect(bool propval) @property nothrowSet `gracefulDisconnect` property. Params: propval = Whether [gio.iostream.IOStream.close] does a graceful disconnect.
bool getGracefulDisconnect() nothrowChecks 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) nothrowThis 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)

Fluent builder implementation template for gio.tcp_connection.TcpConnection

Methods
T gracefulDisconnect(bool propval) nothrowSet `gracefulDisconnect` property. Params: propval = Whether [gio.iostream.IOStream.close] does a graceful disconnect. Returns: Builder instance for fluent chaining
Methods
TcpConnection build() nothrowCreate object from builder. Returns: New object