コード例 #1
0
        public AuthEnableResponse AuthEnable()
        {
            Etcdserverpb.AuthEnableRequest enableRequest = new Etcdserverpb.AuthEnableRequest();
            var rsp = authClient.AuthEnable(enableRequest);
            AuthEnableResponse response = new AuthEnableResponse(rsp);

            return(response);

            //return Util.ToCompletableFuture(
            //    this.stub.authEnable(enableRequest),
            //   new FunctionResponse<Etcdserverpb.AuthEnableRequest, AuthEnableResponse>());
        }