NBMMessage Protocol Reference

Conforms to NSObject
Declared in NBMMessage.h

Overview

The base protocol for JSON-RPC 2.0 requests, notifications and responses. Provides common method for serialisation (to JSON string / to JSON dictionary) of these three message types.

– toJSONString required method

Returns a JSON string representation of this JSON-RPC 2.0 message.

- (NSString *)toJSONString

Return Value

The NSString representing this JSON-RPC 2.0 message.

Declared In

NBMMessage.h

– toJSONDictionary

Returns a JSON dicitonary representation of this JSON-RPC 2.0 message.

- (NSDictionary *)toJSONDictionary

Return Value

The NSDictionary representing this JSON-RPC 2.0 message.

Declared In

NBMMessage.h