Differences From Artifact [f3657b719a]:
- File
src/OFHTTPRequest.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 5396) [annotate] [blame] [check-ins using]
To Artifact [9f0eddeab0]:
- File src/OFHTTPRequest.h — part of check-in [8016757def] at 2017-05-07 21:16:01 on branch trunk — Make -[OFHTTPRequest setBodyFromString:] nonnull (user: js, size: 5378) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
168 169 170 171 172 173 174 | /*! * @brief Sets the entity body of the HTTP request to the specified string * encoded in UTF-8. * * @param string The string to use for the entity body */ | | | | 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
/*!
* @brief Sets the entity body of the HTTP request to the specified string
* encoded in UTF-8.
*
* @param string The string to use for the entity body
*/
- (void)setBodyFromString: (OFString *)string;
/*!
* @brief Sets the entity body of the HTTP request to the specified string
* encoded in the specified encoding.
*
* @param string The string to use for the entity body
* @param encoding The encoding to encode the string with
*/
- (void)setBodyFromString: (OFString *)string
encoding: (of_string_encoding_t)encoding;
@end
#ifdef __cplusplus
extern "C" {
#endif
/*!
|
| ︙ | ︙ |