/// <summary>
 /// Trace a response received by a WAML client
 /// </summary>
 /// <param name="invocationId">Correlation id</param>
 /// <param name="response">The raw response data</param>
 public void ReceiveResponse(string invocationId, System.Net.Http.HttpResponseMessage response)
 {
     WriteMessage("Response: {0}, {1}", invocationId, response.AsFormattedString());
 }
Exemplo n.º 2
0
        public void ReceiveResponse(string invocationId, System.Net.Http.HttpResponseMessage response)
        {
            string responseAsString = response == null ? string.Empty : response.AsFormattedString();

            MessageQueue.CheckAndEnqueue(responseAsString);
        }