public static RpcServer Create(RpcServerOptions options)
        {
            var result = new RpcServer(options);

            result.Startconsuming();

            return(result);
        }
 private RpcServer(RpcServerOptions options)
 {
     if (options != null)
     {
         this.options = options;
     }
     if (this.options.ServerId == "")
     {
         this.options.ServerId = $"{RpcServer.idCounter++}";
     }
 }