Inherits from CRRouter : NSObject
Declared in CRServer.h

Properties

delegate

@property (nonatomic, weak, nullable) id<CRServerDelegate> delegate

delegateQueue

@property (nonatomic, strong, nullable) dispatch_queue_t delegateQueue

Instance Methods

closeAllConnections:

- (void)closeAllConnections:(dispatch_block_t _Nullable)completion

initWithDelegate:

- (instancetype)initWithDelegate:(id<CRServerDelegate> _Nullable)delegate

initWithDelegate:delegateQueue:

- (instancetype)initWithDelegate:(id<CRServerDelegate> _Nullable)delegate delegateQueue:(dispatch_queue_t _Nullable)delegateQueue

startListening

- (BOOL)startListening

startListening:

- (BOOL)startListening:(NSError *_Nullable __autoreleasing *_Nullable)error

startListening:portNumber:

- (BOOL)startListening:(NSError *_Nullable __autoreleasing *_Nullable)error portNumber:(NSUInteger)portNumber

startListening:portNumber:interface:

- (BOOL)startListening:(NSError *_Nullable __autoreleasing *_Nullable)error portNumber:(NSUInteger)portNumber interface:(NSString *_Nullable)interface

stopListening

- (void)stopListening