public static ServerCreater CreatetRPC(this ServerCreater serverCreater, int port) { var server = new RPCServer(port); serverCreater.SetServer(server); return(serverCreater); }
public static ServerCreater CreateWebSocket(this ServerCreater serverCreater, int port) { var server = new WebSocketServer(port); serverCreater.SetServer(server); return(serverCreater); }
public static ServerCreater CreatetApi(this ServerCreater serverCreater) { var server = new ApiServer(); serverCreater.SetServer(server); return(serverCreater); }