#import <GRPCCall.h>
Instance Methods | |
(instancetype) | - initWithHost:path:safety: |
(instancetype) | - NS_UNAVAILABLE |
Class Methods | |
(instancetype) | + NS_UNAVAILABLE |
Properties | |
NSString * | host |
NSString * | path |
GRPCCallSafety | safety |
HTTP request parameters. If Protobuf is used, these parameters are automatically generated by Protobuf. If directly using the GRPCCall2 class, users should specify these parameters manually.
Definition at line 102 of file GRPCCall.h.
- (instancetype) initWithHost: | (NSString *) | host | |
path: | (NSString *) | path | |
safety: | (GRPCCallSafety) | NS_DESIGNATED_INITIALIZER | |
Initialize with all properties.
- (instancetype) NS_UNAVAILABLE |
+ (instancetype) NS_UNAVAILABLE |
|
readatomiccopy |
The host serving the RPC service.
Definition at line 114 of file GRPCCall.h.
|
readatomiccopy |
The path to the RPC call.
Definition at line 116 of file GRPCCall.h.
|
readatomicassign |
Specify whether the call is idempotent or cachable. gRPC may select different HTTP verbs for the call based on this information. The default verb used by gRPC is POST.
Definition at line 121 of file GRPCCall.h.