polish comments

pull/16190/head
Muxi Yan 6 years ago
parent 2d903f4732
commit a6e35201b5
  1. 14
      src/objective-c/GRPCClient/GRPCCallOptions.h

@ -26,8 +26,10 @@ typedef NS_ENUM(NSUInteger, GRPCCallSafety) {
GRPCCallSafetyDefault = 0,
/** Signal that the call is idempotent. gRPC is free to use PUT verb. */
GRPCCallSafetyIdempotentRequest = 1,
/** Signal that the call is cacheable and will not affect server state. gRPC is free to use GET
verb. */
/**
* Signal that the call is cacheable and will not affect server state. gRPC is free to use GET
* verb.
*/
GRPCCallSafetyCacheableRequest = 2,
};
@ -39,14 +41,14 @@ typedef NS_ENUM(NSInteger, GRPCCompressAlgorithm) {
GRPCStreamCompressGzip,
};
// The transport to be used by a gRPC call
/** The transport to be used by a gRPC call */
typedef NS_ENUM(NSInteger, GRPCTransportType) {
GRPCTransportTypeDefault = 0,
// gRPC internal HTTP/2 stack with BoringSSL
/** gRPC internal HTTP/2 stack with BoringSSL */
GRPCTransportTypeChttp2BoringSSL = 0,
// Cronet stack
/** Cronet stack */
GRPCTransportTypeCronet,
// Insecure channel. FOR TEST ONLY!
/** Insecure channel. FOR TEST ONLY! */
GRPCTransportTypeInsecure,
};

Loading…
Cancel
Save