diff options
author | 2018-10-11 13:52:24 -0700 | |
---|---|---|
committer | 2018-10-11 13:52:24 -0700 | |
commit | a397862fd56bca95da49062b7ca622a0823bc15a (patch) | |
tree | 700692559994fc2cce9beb404b2ffb63b98e0667 /src/objective-c/GRPCClient/GRPCCallOptions.h | |
parent | 0d4ac971df9d2a795eac674e0a105d0c51f7387b (diff) |
property attribute fixes
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCallOptions.h')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCallOptions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCallOptions.h b/src/objective-c/GRPCClient/GRPCCallOptions.h index 70dd7741fd..abfe396511 100644 --- a/src/objective-c/GRPCClient/GRPCCallOptions.h +++ b/src/objective-c/GRPCClient/GRPCCallOptions.h @@ -64,7 +64,7 @@ typedef NS_ENUM(NSInteger, GRPCTransportType) { * :authority header field of the call and performs an extra check that server's certificate * matches the :authority header. */ -@property(readonly) NSString *serverAuthority; +@property(copy, readonly) NSString *serverAuthority; /** * The timeout for the RPC call in seconds. If set to 0, the call will not timeout. If set to @@ -91,7 +91,7 @@ typedef NS_ENUM(NSInteger, GRPCTransportType) { /** * Initial metadata key-value pairs that should be included in the request. */ -@property(copy, readwrite) NSDictionary *initialMetadata; +@property(copy, readonly) NSDictionary *initialMetadata; // Channel parameters; take into account of channel signature. @@ -198,7 +198,7 @@ typedef NS_ENUM(NSInteger, GRPCTransportType) { * :authority header field of the call and performs an extra check that server's certificate * matches the :authority header. */ -@property(readwrite) NSString *serverAuthority; +@property(copy, readwrite) NSString *serverAuthority; /** * The timeout for the RPC call in seconds. If set to 0, the call will not timeout. If set to |