Static Propertygrpc-swift 2.0.0GRPCCore
none
No compression, sometimes referred to as ‘identity’ compression.
static var none: Self { get }
No compression, sometimes referred to as ‘identity’ compression.
static var none: Self { get }
import GRPCCore
A gRPC library for Swift written natively in Swift.
struct CompressionAlgorithmSet
A set of compression algorithms.
init(rawValue: UInt32)
static var all: Self { get }
All compression algorithms.
static var deflate: Self { get }
The ‘deflate’ compression algorithm.
static var gzip: Self { get }
The ‘gzip’ compression algorithm.
var elements: Elements { get }
A sequence of CompressionAlgorithm
values present in the set.
var rawValue: UInt32
func contains(_ algorithm: CompressionAlgorithm) -> Bool
Returns whether a given algorithm is present in the set.
struct Elements
A sequence of CompressionAlgorithm
values present in a CompressionAlgorithmSet
.