예제 #1
0
 public void ExecuteResult(ref ActionContext context)
 {
     Debug.Assert(false);
     JsonRpcSerializer.SerializeErrorResponse(context.ResponseBuffer, DefaultStatusCode, "Invalid Request", context.Id);
 }
예제 #2
0
 public void ExecuteResult(ref ActionContext context)
 {
     JsonRpcSerializer.SerializeErrorResponse(context.ResponseBuffer, StatusCode.MethodNotFound, "Method not found", context.Id);
 }