TlsClientConnection.this

Creates a new GTlsClientConnection wrapping base_io_stream (which must have pollable input and output streams) which is assumed to communicate with the server identified by server_identity. Since 2.28

  1. this(GTlsClientConnection* gTlsClientConnection)
  2. this(IOStream baseIoStream, SocketConnectableIF serverIdentity)

Parameters

baseIoStream IOStream

the GIOStream to wrap

serverIdentity SocketConnectableIF

the expected identity of the server. [allow-none]

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta