/// <summary>
 /// Trace a request sent by a WAML client
 /// </summary>
 /// <param name="invocationId">Correlation id</param>
 /// <param name="request">The raw request data</param>
 public void SendRequest(string invocationId, System.Net.Http.HttpRequestMessage request)
 {
     WriteMessage("Request: {0}, {1}", invocationId, request.AsFormattedString());
 }
Exemple #2
0
        public void SendRequest(string invocationId, System.Net.Http.HttpRequestMessage request)
        {
            string requestAsString = request == null ? string.Empty : request.AsFormattedString();

            MessageQueue.CheckAndEnqueue(requestAsString);
        }