public static void GZipAndSend(byte[] src, string responseType) { CompressionUtils.Send(CompressionUtils.GZip(src), responseType); }
public static void GZipAndSend(string src) { CompressionUtils.GZipAndSend(src, "application/json"); }
public static void GZipAndSend(string src, string responseType) { CompressionUtils.GZipAndSend(Encoding.UTF8.GetBytes(src), responseType); }
public static void GZipAndSend(object src) { CompressionUtils.GZipAndSend((src != null) ? src.ToString() : ""); }