TraceHttpRequestHeaders method
void
TraceHttpRequestHeaders(
)
Traces the HTTP request headers.
Kind of trace entry.
The request.
Implementation
void TraceHttpRequestHeaders(
enumerations.TraceFlags traceType, IEwsHttpWebRequest request) {
if (this.IsTraceEnabledFor(traceType)) {
String traceTypeStr = traceType.toString();
String headersAsString = EwsUtilities.FormatHttpRequestHeaders(request);
String logMessage =
EwsUtilities.FormatLogMessage(traceTypeStr, headersAsString);
this.TraceListener.Trace(traceTypeStr, logMessage);
}
}