RPCServer.this

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

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

Parameters

api API

The instantiated class or struct providing the RPC API.

host string

The host interface on which to listen.

port ushort

The port on which to listen.

Meta