Contents

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