|
GRPC Objective-C
1.32.0
|
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 |
The registry of transport implementations.
| - (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.
| + (instancetype) sharedInstance |
1.8.17