Gets the URL from a CFHTTPMessage
object.
SDKs
- iOS 2.0+
- macOS 10.1+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- CFNetwork
Declaration
CFURLRef CFHTTPMessageCopyRequestURL(CFHTTPMessage Ref request);
Parameters
request
The message to examine. This must be a request message.
Return Value
A CFURLRef
object containing the URL or NULL
if there was a problem creating the object. Ownership follows the The Create Rule.