Inherits from NSObject
Declared in WSCCause.h

Overview

Identifies the WSCStatusCode and extension headers related to an event.

Properties

extHeaders

The extension headers if any.

@property NSMutableDictionary *extHeaders

Discussion

The extension headers if any.

Declared In

WSCCause.h

statusCode

The status code if available.

@property WSCStatusCode statusCode

Discussion

The status code if available.

Declared In

WSCCause.h

Instance Methods

description

Returns a string that represents the WSCCause.

- (NSString *)description

Discussion

Returns a string that represents the WSCCause.

Declared In

WSCCause.h

init:

Initializes a newly allocated WSCCause.

- (instancetype)init:(WSCStatusCode)statusCode

Parameters

statusCode

statusCode

Discussion

Initializes a newly allocated WSCCause.

Declared In

WSCCause.h

init:extHeaders:

Initializes a newly allocated WSCCause.

- (instancetype)init:(WSCStatusCode)statusCode extHeaders:(NSDictionary *)extHeaders

Parameters

statusCode

statusCode

extHeaders

the extenstion headers

Discussion

Initializes a newly allocated WSCCause.

Declared In

WSCCause.h