Structuregrpc-swift 2.0.0GRPCCore
CompressionAlgorithm
Message compression algorithms.
struct CompressionAlgorithm
Message compression algorithms.
struct CompressionAlgorithm
import GRPCCore
A gRPC library for Swift written natively in Swift.
protocol MessageSerializer<Message> : Sendable
Serializes a message into a sequence of bytes.
protocol MessageDeserializer<Message> : Sendable
Deserializes a sequence of bytes into a message.
struct CompressionAlgorithmSet
A set of compression algorithms.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
static var deflate: Self { get }
The ‘deflate’ compression algorithm.
static var gzip: Self { get }
The ‘gzip’ compression algorithm.
static var none: Self { get }
No compression, sometimes referred to as ‘identity’ compression.
let value: Value
enum Value
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.