Ejemplo n.º 1
0
        public async Task <Response> PutDataAsync(TestContext ctx, CancellationToken cancellationToken)
        {
            var content = Provider.CreateBinaryContent(Content != null ? Content.AsByteArray() : null);

            var response = await Client.PutAsync(RequestUri, content, cancellationToken).ConfigureAwait(false);

            return(await HttpClientResponse.Create(this, response));
        }