WSCHttpContext Class Reference
| Inherits from | NSObject |
| Declared in | WSCHttpContext.h |
Overview
Used to pass the login information between the Http client and the Websocket client API. Also acts as a way for the client to pass any additional headers or client certificates to the WebSocket handshake.
Instance Methods
getHeader:
Gets all possible values of the header indicated by headerName.
- (NSArray *)getHeader:(NSString *)headerNameParameters
- headerName
header name
Return Value
String formatted values
Discussion
Gets all possible values of the header indicated by headerName.
Declared In
WSCHttpContext.hgetHeaders
Returns a map of the header fields and values.
- (NSDictionary *)getHeadersReturn Value
the headers map Dictionary of NSString -> NSArray
Discussion
Returns a map of the header fields and values.
Declared In
WSCHttpContext.h