Send() public static method

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