TSSLSocket.this

Creates an instance that wraps an already created, connected (!) socket.

  1. this(TSSLContext context, Socket socket)
    class TSSLSocket
  2. this(TSSLContext context, string host, ushort port)

Parameters

context TSSLContext

The SSL socket context to use. A reference to it is stored so that it doesn't get cleaned up while the socket is used.

socket Socket

Already created, connected socket object.

Meta