aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-20 13:00:38 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-20 13:00:38 -0700
commit9a15b6a5cfa81ab31afb4945cc1ccd8fe5be5665 (patch)
treee5078b70fa37da690cfa062f56e829aa4c75bc2f /src/objective-c/ProtoRPC/ProtoRPC.h
parentae99d3a5ed45e135f8b9bd9235b252fed56aa417 (diff)
clang-format
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.h')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h
index 3a7fd58fb1..960a9a12bd 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.h
+++ b/src/objective-c/ProtoRPC/ProtoRPC.h
@@ -31,12 +31,12 @@ NS_ASSUME_NONNULL_BEGIN
@optional
/** Issued when initial metadata is received from the server. */
-- (void)receivedInitialMetadata:(NSDictionary * _Nullable)initialMetadata;
+- (void)receivedInitialMetadata:(NSDictionary *_Nullable)initialMetadata;
/**
* Issued when a message is received from the server. The message is the deserialized proto object.
*/
-- (void)receivedProtoMessage:(GPBMessage * _Nullable)message;
+- (void)receivedProtoMessage:(GPBMessage *_Nullable)message;
/**
* Issued when a call finished. If the call finished successfully, \a error is nil and \a
@@ -44,7 +44,8 @@ NS_ASSUME_NONNULL_BEGIN
* is non-nil and contains the corresponding error information, including gRPC error codes and
* error descriptions.
*/
-- (void)closedWithTrailingMetadata:(NSDictionary * _Nullable)trailingMetadata error:(NSError * _Nullable)error;
+- (void)closedWithTrailingMetadata:(NSDictionary *_Nullable)trailingMetadata
+ error:(NSError *_Nullable)error;
@required
@@ -70,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)initWithRequestOptions:(GRPCRequestOptions *)requestOptions
message:(GPBMessage *)message
responseHandler:(id<GRPCProtoResponseHandler>)handler
- callOptions:(GRPCCallOptions * _Nullable)callOptions
+ callOptions:(GRPCCallOptions *_Nullable)callOptions
responseClass:(Class)responseClass NS_DESIGNATED_INITIALIZER;
/**
@@ -95,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (instancetype)initWithRequestOptions:(GRPCRequestOptions *)requestOptions
responseHandler:(id<GRPCProtoResponseHandler>)handler
- callOptions:(GRPCCallOptions * _Nullable)callOptions
+ callOptions:(GRPCCallOptions *_Nullable)callOptions
responseClass:(Class)responseClass NS_DESIGNATED_INITIALIZER;
/**