RPCServer.this

Construct an RPCServer!API object to communicate via TCP sockets.

The API class must be constructable via a default constructor; if you need to use an alternate constructor, create it first and pass it to the RPCServer via another constructor.

  1. this(string host, ushort port)
    class RPCServer(API, Listener = TCPListener!API)
    this
    (
    string host
    ,
    ushort port
    )
    if (
    is(API == class) &&
    isListener!(Listener!API)
    )
  2. this(API api, string host, ushort port)

Parameters

host string

The host interface on which to listen.

port ushort

The port on which to listen.

Meta