pull/19704/head
Muxi Yan 5 years ago
parent e246a307d3
commit 32aad8a11c
  1. 2
      src/objective-c/GRPCClient/GRPCCall.m
  2. 2
      src/objective-c/GRPCClient/private/GRPCCore/GRPCCoreCronet/GRPCCoreCronetFactory.h
  3. 4
      src/objective-c/GRPCClient/private/GRPCCore/GRPCCoreCronet/GRPCCoreCronetFactory.m
  4. 2
      src/objective-c/GRPCClient/private/GRPCCore/GRPCCoreCronet/GRPCCronetChannelFactory.h
  5. 4
      src/objective-c/GRPCClient/private/GRPCCore/GRPCCoreCronet/GRPCCronetChannelFactory.m
  6. 5
      src/objective-c/ProtoRPC/ProtoService.m

@ -18,13 +18,11 @@
#import "GRPCCall.h"
#include <grpc/support/time.h>
#import "GRPCCallOptions.h"
#import "GRPCInterceptor.h"
#import "GRPCCall+Interceptor.h"
#import "private/GRPCTransport+Private.h"
#import "private/GRPCCore/GRPCCoreFactory.h"
NSString *const kGRPCHeadersKey = @"io.grpc.HeadersKey";
NSString *const kGRPCTrailersKey = @"io.grpc.TrailersKey";

@ -16,7 +16,7 @@
*
*/
#import "GRPCCoreFactory.h"
#import "../GRPCCoreFactory.h"
@interface GRPCCoreCronetFactory : NSObject<GRPCCoreTransportFactory>

@ -21,8 +21,8 @@
#import <GRPCClient/GRPCTransport.h>
#import <GRPCClient/GRPCCall+Cronet.h>
#import "GRPCCoreFactory.h"
#import "GRPCCallInternal.h"
#import "../GRPCCoreFactory.h"
#import "../GRPCCallInternal.h"
#import "GRPCCronetChannelFactory.h"
static GRPCCoreCronetFactory *gGRPCCoreCronetFactory = nil;

@ -15,7 +15,7 @@
* limitations under the License.
*
*/
#import "GRPCChannelFactory.h"
#import "../GRPCChannelFactory.h"
@class GRPCChannel;
typedef struct stream_engine stream_engine;

@ -18,8 +18,8 @@
#import "GRPCCronetChannelFactory.h"
#import "ChannelArgsUtil.h"
#import "GRPCChannel.h"
#import "../ChannelArgsUtil.h"
#import "../GRPCChannel.h"
#import <Cronet/Cronet.h>
#include <grpc/grpc_cronet.h>

@ -32,9 +32,14 @@
GRPCCallOptions *_callOptions;
}
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnonnull"
// Do not call the default init method
- (instancetype)init {
[NSException raise:NSGenericException format:@"Do not call init method of ProtoService"];
return [self initWithHost:nil packageName:nil serviceName:nil callOptions:nil];
}
#pragma clang diasnostic pop
// Designated initializer
- (instancetype)initWithHost:(NSString *)host

Loading…
Cancel
Save