public async Task <ISetVariablesResponse> Send(TimeSpan?timeout = null)
        {
            var asyncReply = client.SetVariablesAsync(request, deadline: timeout?.FromUtcNow());
            var response   = await asyncReply.ResponseAsync;

            return(new SetVariablesResponse(response));
        }
예제 #2
0
        public async Task <ISetVariablesResponse> Send(TimeSpan?timeout = null, CancellationToken token = default)
        {
            var asyncReply = client.SetVariablesAsync(request, deadline: timeout?.FromUtcNow(), cancellationToken: token);
            var response   = await asyncReply.ResponseAsync;

            return(new SetVariablesResponse(response));
        }
예제 #3
0
        public async Task <ISetVariablesResponse> Send()
        {
            var asyncReply = client.SetVariablesAsync(request);
            await asyncReply.ResponseAsync;

            return(new Responses.SetVariablesResponse());
        }