GRPCTransport+Private.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 
21 
22 NS_ASSUME_NONNULL_BEGIN
23 
28 
34 - (id<GRPCTransportFactory>)getTransportFactoryWithID:(GRPCTransportID)transportID;
35 
36 @end
37 
51 
52 - (instancetype)initWithTransportID:(GRPCTransportID)transportID
53  previousInterceptor:(id<GRPCResponseHandler>)previousInterceptor;
54 
59 - (void)shutDown;
60 
62 - (void)forwardPreviousInterceptorWithInitialMetadata:(nullable NSDictionary *)initialMetadata;
63 
65 - (void)forwardPreviousInterceptorWithData:(nullable id)data;
66 
68 - (void)forwardPreviousInterceptorCloseWithTrailingMetadata:
69  (nullable NSDictionary *)trailingMetadata
70  error:(nullable NSError *)error;
71 
74 
75 @end
76 
77 NS_ASSUME_NONNULL_END
GRPCInterceptorInterface-p
Definition: GRPCInterceptor.h:130
-[GRPCTransportManager forwardPreviousInterceptorDidWriteData]
void forwardPreviousInterceptorDidWriteData()
GRPCResponseHandler-p
Definition: GRPCCall.h:50
GRPCInterceptor.h
GRPCTransportFactory-p
Definition: GRPCTransport.h:52
-[GRPCTransportManager shutDown]
void shutDown()
GRPCTransportID
char *_Nonnull GRPCTransportID
Definition: GRPCTypes.h:174
GRPCTransportRegistry(Private)
Definition: GRPCTransport+Private.h:27
GRPCTransport.h
id
uint32_t id
Definition: flow_control_fuzzer.cc:70
GRPCTransportManager
Definition: GRPCTransport+Private.h:50


grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:45