protected virtual void SendReplyCore(Message message, TimeSpan timeout) { this.TraceProcessResponseStart(); ThreadTrace.Trace("Begin sending http reply"); HttpOutput httpOutput = this.GetHttpOutput(message); httpOutput.Send(timeout); ThreadTrace.Trace("End sending http reply"); this.TraceProcessResponseStop(); }
protected override void SendReplyCore(Message message, TimeSpan timeout) { this.TraceProcessResponseStart(); ThreadTrace.Trace("Begin sending http reply"); HttpOutput httpOutput = this.GetHttpOutput(message); HttpResponseMessage response = HttpResponseMessageProperty.GetHttpResponseMessageFromMessage(message); if (response != null) { httpOutput.Send(response, timeout); } else { httpOutput.Send(timeout); } ThreadTrace.Trace("End sending http reply"); this.TraceProcessResponseStop(); }