Sets the body of a CFHTTPMessage
object.
SDKs
- iOS 2.0+
- macOS 10.1+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- CFNetwork
Declaration
void CFHTTPMessageSetBody(CFHTTPMessage Ref message, CFData Ref bodyData);
Parameters
message
The message to modify.
bodyData
The data that is to be set as the body of the message.