CompressionTypes
Assembly: ServiceStack.Text.dll
View Source
Declaration
public static class CompressionTypes
Fields
AllCompressionTypes
View Source
Declaration
public static readonly string[] AllCompressionTypes
Default
View Source
Declaration
public const string Default = "deflate"
Brotli
View Source
Declaration
public const string Brotli = "br"
Deflate
View Source
Declaration
public const string Deflate = "deflate"
GZip
View Source
Declaration
public const string GZip = "gzip"
Methods
IsValid(String)
View Source
Declaration
public static bool IsValid(string compressionType)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | compressionType |
AssertIsValid(String)
View Source
Declaration
public static void AssertIsValid(string compressionType)
Parameters
Type | Name |
---|---|
System.String | compressionType |
GetExtension(String)
View Source
Declaration
public static string GetExtension(string compressionType)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | compressionType |