87
88
89
90
91
92
93
94
|
/*!
* @brief Returns the headers of the reply to the HTTP request.
*
* @param headers The headers of the reply to the HTTP request
*/
- (void)setHeaders: (OFDictionary*)headers;
@end
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
/*!
* @brief Returns the headers of the reply to the HTTP request.
*
* @param headers The headers of the reply to the HTTP request
*/
- (void)setHeaders: (OFDictionary*)headers;
/*!
* @brief Returns the reply as a string, trying to detect the encoding.
*
* @return The reply as a string
*/
- (OFString*)string;
/*!
* @brief Returns the reply as a string, trying to detect the encoding and
* falling back to the specified encoding if not detectable.
*
* @return The reply as a string
*/
- (OFString*)stringWithEncoding: (of_string_encoding_t)encoding;
@end
|