GRPC Objective-C  1.71.0
Instance Methods | Class Methods
GRPCTransportRegistry Class Reference

The registry of transport implementations. More...

#import <GRPCTransport.h>

Instance Methods

(void) - registerTransportWithID:factory:
 Register a transport implementation with the registry. More...
 

Class Methods

(instancetype) + sharedInstance
 

Detailed Description

The registry of transport implementations.

Method Documentation

◆ registerTransportWithID:factory:

- (void) registerTransportWithID: (GRPCTransportID transportID
factory: (id< GRPCTransportFactory >)  factory 

Register a transport implementation with the registry.

All transport implementations to be used in a process must register with the registry on process start-up in its +load: class method. Parameter transportID is the identifier of the implementation, and factory is the factory object to create the corresponding transport instance.

◆ sharedInstance

+ (instancetype) sharedInstance

The documentation for this class was generated from the following file: