Example #1
0
 private static void AppendParamsToBody(IRequest request, ResponseBuilder responseBuilder)
 {
     if (request.HasParams())
     {
         foreach (var param in request.Params)
         {
             var paramString = param.Key + " = " + param.Value + "\n";
             responseBuilder.AppendToBody(paramString);
         }
     }
 }