/// <summary>
 ///
 /// </summary>
 /// <param name="context"></param>
 /// <param name="body"></param>
 protected virtual void OnRequest(HttpContext context, ResponseBody body)
 {
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="context"></param>
 /// <param name="body"></param>
 protected abstract void OnRequest(HttpContext context, ResponseBody body);
 /// <summary>
 ///
 /// </summary>
 /// <param name="context"></param>
 /// <param name="body"></param>
 /// <returns></returns>
 protected byte[] ProcessResponse(IHttpRequestContext context, ResponseBody body)
 {
     return(ResponseFormater.Serialize(body));
 }