WSCHttpContextBuilder Class Reference
| Inherits from | NSObject |
| Declared in | WSCHttpContextBuilder.h |
Tasks
-
headersproperty -
sslContextRefproperty -
+ create -
– withHeaders:values: -
– withHeader:value: -
– withSSLContextRef: -
– build
Properties
Instance Methods
build
Builds the WSCHttpContext object.
- (WSCHttpContext *)buildDiscussion
Builds the WSCHttpContext object.
Declared In
WSCHttpContextBuilder.hwithHeader:value:
Creates a new builder with a specific header.
- (WSCHttpContextBuilder *)withHeader:(NSString *)name value:(NSString *)valueParameters
- name
header name
- value
Header value.
Return Value
WSCHttpContextBuilder
Discussion
Creates a new builder with a specific header.
Declared In
WSCHttpContextBuilder.hwithHeaders:values:
Creates a new builder with an array of headers.
- (WSCHttpContextBuilder *)withHeaders:(NSString *)name values:(NSArray *)valuesParameters
- name
header name
- values
Header values as an array.
Return Value
WSCHttpContextBuilder
Discussion
Creates a new builder with an array of headers.
Declared In
WSCHttpContextBuilder.hwithSSLContextRef:
Creates a new builder with an SSL context reference.
- (WSCHttpContextBuilder *)withSSLContextRef:(SSLContextRef *)sslContextParameters
- sslContext
sslContext
Return Value
WSCHttpContextBuilder
Discussion
Creates a new builder with an SSL context reference.
Declared In
WSCHttpContextBuilder.h