HTTP request parameters.
More...
#import <GRPCCall.h>
|
NSString * | host |
| The host serving the RPC service. More...
|
|
NSString * | path |
| The path to the RPC call. More...
|
|
GRPCCallSafety | safety |
| Specify whether the call is idempotent or cachable. More...
|
|
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.
◆ initWithHost:path:safety:
- (instancetype) initWithHost: |
|
(NSString *) |
host |
path: |
|
(NSString *) |
path |
safety: |
|
(GRPCCallSafety) |
NS_DESIGNATED_INITIALIZER |
|
|
| |
Initialize with all properties.
◆ NS_UNAVAILABLE [1/2]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [2/2]
+ (instancetype) NS_UNAVAILABLE |
|
|
|
◆ host
The host serving the RPC service.
◆ path
The path to the RPC call.
◆ safety
- (GRPCCallSafety) safety |
|
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.
The documentation for this class was generated from the following file: