CFHTTPMessageCopyResponseStatusLine(_:)
Gets the status line from a CFHTTPMessage object.
Declaration
func CFHTTPMessageCopyResponseStatusLine(_ response: CFHTTPMessage) -> Unmanaged<CFString>?Parameters
- response:
The message to examine. This must be a response message.
Return Value
A string containing the message’s status line, or NULL if there was a problem creating the object. The status line includes the message’s protocol version and a success or error code. Ownership follows the The Create Rule.
See Also
HTTP Messages
CFHTTPMessageCFHTTPMessageAddAuthentication(_:_:_:_:_:_:)CFHTTPMessageAppendBytes(_:_:_:)CFHTTPMessageApplyCredentialDictionary(_:_:_:_:)CFHTTPMessageApplyCredentials(_:_:_:_:_:)CFHTTPMessageCopyAllHeaderFields(_:)CFHTTPMessageCopyBody(_:)CFHTTPMessageCopyHeaderFieldValue(_:_:)CFHTTPMessageCopyRequestMethod(_:)CFHTTPMessageCopyRequestURL(_:)CFHTTPMessageCopySerializedMessage(_:)CFHTTPMessageCopyVersion(_:)CFHTTPMessageCreateCopy(_:_:)CFHTTPMessageCreateEmpty(_:_:)CFHTTPMessageCreateRequest(_:_:_:_:)