Esempio n. 1
0
 public static void GZipAndSend(byte[] instance, string responseType)
 {
     if (CompressionUtils.IsGZipSupported)
     {
         CompressionUtils.Send(CompressionUtils.GZip(instance), responseType, true);
     }
     else
     {
         CompressionUtils.Send(instance, responseType);
     }
 }
Esempio n. 2
0
 public static void Send(byte[] instance, string responseType)
 {
     CompressionUtils.Send(instance, responseType, false);
 }