示例#1
0
 public void WritePureJsonSerialized(string jsonResponse, HttpListenerResponse response)
 {
     _msgService.WriteHttpResponseAsPureJson(jsonResponse, response, true);
     OnPostMessageServiceInvoked?.Invoke(this, EventArgs.Empty);
 }
示例#2
0
 public void Write(IChannelMessage message, HttpListenerResponse response)
 {
     _msgService.WriteHttpResponse(message, response);
     OnPostMessageServiceInvoked?.Invoke(this, EventArgs.Empty);
 }
示例#3
0
 public void WritePureJson(object responseObject, HttpListenerResponse response)
 {
     _msgService.WriteHttpResponseAsPureJson(responseObject, response, false);
     OnPostMessageServiceInvoked?.Invoke(this, EventArgs.Empty);
 }