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.
– initWithHttpContextBuilder:
Returns an initialized WSCHttpContext object.
- (instancetype)initWithHttpContextBuilder:(WSCHttpContextBuilder *)builderParameters
builder |
HttpContextBuilder |
|---|
Discussion
Returns an initialized WSCHttpContext object.
Declared In
WSCHttpContext.h
– getSSLContextRef
Gets the SSLContextRef.
- (SSLContextRef *)getSSLContextRefReturn Value
SSL context reference
Discussion
Gets the SSLContextRef.
Declared In
WSCHttpContext.h
– 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.h
– getHeaders
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