Beispiel #1
0
        protected override async Task <string> ReadResponseAsync(HttpResponseMessage response)
        {
            var byteArray = await response.Content.ReadAsByteArrayAsync();

            return(ASWebXmlHelper.Decode(byteArray));
        }
Beispiel #2
0
 protected override byte[] PrepareRequestBody(string content)
 {
     return(ASWebXmlHelper.Encode(content));
 }