Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
z
Classes
Class List
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
grpc
src
objective-c
GRPCClient
GRPCTransport.h
Go to the documentation of this file.
1
/*
2
*
3
* Copyright 2019 gRPC authors.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*/
18
19
// The interface for a transport implementation
20
21
#import "
GRPCInterceptor.h
"
22
23
NS_ASSUME_NONNULL_BEGIN
24
25
#pragma mark Transport ID
26
31
extern
const
struct
GRPCDefaultTransportImplList
{
32
const
GRPCTransportID
core_secure
;
33
const
GRPCTransportID
core_insecure
;
34
}
GRPCDefaultTransportImplList
;
35
37
BOOL
TransportIDIsEqual
(
GRPCTransportID
lhs,
GRPCTransportID
rhs);
38
40
NSUInteger
TransportIDHash
(
GRPCTransportID
);
41
42
#pragma mark Transport and factory
43
44
@protocol
GRPCInterceptorInterface
;
45
@protocol
GRPCResponseHandler
;
46
@class
GRPCTransportManager
;
47
@class
GRPCRequestOptions
;
48
@class
GRPCCallOptions
;
49
@class
GRPCTransport
;
50
52
@protocol
GRPCTransportFactory
<NSObject>
53
55
- (
GRPCTransport
*)createTransportWithManager:(
GRPCTransportManager
*)transportManager;
56
58
@property
(nonatomic, readonly) NSArray<id<GRPCInterceptorFactory>> *
transportInterceptorFactories
;
59
60
@end
61
63
@interface
GRPCTransportRegistry
: NSObject
64
65
+ (instancetype)
sharedInstance
;
66
73
- (void)registerTransportWithID:(
GRPCTransportID
)transportID
74
factory:(
id
<
GRPCTransportFactory
>)factory;
75
76
@end
77
82
@interface
GRPCTransport
: NSObject <
GRPCInterceptorInterface
>
83
84
@end
85
86
NS_ASSUME_NONNULL_END
+[GRPCTransportRegistry sharedInstance]
instancetype sharedInstance()
GRPCCallOptions
Definition:
GRPCCallOptions.h:32
GRPCInterceptorInterface-p
Definition:
GRPCInterceptor.h:130
BOOL
int BOOL
Definition:
undname.c:46
GRPCResponseHandler-p
Definition:
GRPCCall.h:50
GRPCDefaultTransportImplList::core_secure
const GRPCTransportID core_secure
Definition:
GRPCTransport.h:32
GRPCInterceptor.h
GRPCTransportFactory-p::transportInterceptorFactories
NSArray< id< GRPCInterceptorFactory > > * transportInterceptorFactories
Definition:
GRPCTransport.h:58
GRPCDefaultTransportImplList
NS_ASSUME_NONNULL_BEGIN const struct GRPCDefaultTransportImplList GRPCDefaultTransportImplList
TransportIDHash
NSUInteger TransportIDHash(GRPCTransportID)
GRPCTransportFactory-p
Definition:
GRPCTransport.h:52
GRPCDefaultTransportImplList::core_insecure
const GRPCTransportID core_insecure
Definition:
GRPCTransport.h:33
GRPCTransportRegistry
Definition:
GRPCTransport.h:63
TransportIDIsEqual
BOOL TransportIDIsEqual(GRPCTransportID lhs, GRPCTransportID rhs)
GRPCTransport
Definition:
GRPCTransport.h:82
GRPCRequestOptions
Definition:
GRPCCall.h:102
GRPCTransportID
char *_Nonnull GRPCTransportID
Definition:
GRPCTypes.h:174
GRPCDefaultTransportImplList
Definition:
GRPCTransport.h:31
GRPCTransportManager
Definition:
GRPCTransport+Private.h:50
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:48