diff options
author | 2018-10-19 11:24:04 -0700 | |
---|---|---|
committer | 2018-10-19 11:24:04 -0700 | |
commit | 590ab392520c0216690bc2626e2c9b55e95fc0fa (patch) | |
tree | 7227f17d159c9ed589449bba1964fe6de4241b6f /src/objective-c/GRPCClient/GRPCCallOptions.h | |
parent | a6e35201b5a00949379fd04fb784f6b90d06a88a (diff) |
GRPCCompressAlgorithm->GRPCCompressionAlgorithm
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCallOptions.h')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCallOptions.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCallOptions.h b/src/objective-c/GRPCClient/GRPCCallOptions.h index 6e16cd56a9..b8bbb8a22d 100644 --- a/src/objective-c/GRPCClient/GRPCCallOptions.h +++ b/src/objective-c/GRPCClient/GRPCCallOptions.h @@ -33,14 +33,19 @@ typedef NS_ENUM(NSUInteger, GRPCCallSafety) { GRPCCallSafetyCacheableRequest = 2, }; + + // Compression algorithm to be used by a gRPC call -typedef NS_ENUM(NSInteger, GRPCCompressAlgorithm) { +typedef NS_ENUM(NSInteger, GRPCCompressionAlgorithm) { GRPCCompressNone = 0, GRPCCompressDeflate, GRPCCompressGzip, GRPCStreamCompressGzip, }; +// GRPCCompressAlgorithm is deprecated; use GRPCCompressionAlgorithm +typedef GRPCCompressionAlgorithm GRPCCompressAlgorithm; + /** The transport to be used by a gRPC call */ typedef NS_ENUM(NSInteger, GRPCTransportType) { GRPCTransportTypeDefault = 0, |