NBMJSONRPCClientConfiguration Class Reference

Inherits from NSObject
Declared in NBMJSONRPCClient.h

Overview

NBMJSONRPCClientConfiguration object used to configure NBJSONRPCClient.

  requestTimeout

The timeout interval for the new request, in seconds. Default value is 5.

@property (nonatomic) NSTimeInterval requestTimeout

Declared In

NBMJSONRPCClient.h

  requestMaxRetries

The retry number for requests gone in timeout (with no response back). Default value is 1.

@property (nonatomic) NSUInteger requestMaxRetries

Declared In

NBMJSONRPCClient.h

  autoConnect

A boolean that determines whether the client needs to connect automatically after initialization. Default value is YES.

@property (nonatomic, assign) BOOL autoConnect

Declared In

NBMJSONRPCClient.h

+ defaultConfiguration

A configuration object with deafult values used to configure NBJSONRPCClient.

+ (instancetype)defaultConfiguration

Return Value

A newly initialized NBMJSONRPCClientConfiguration object.

Declared In

NBMJSONRPCClient.h