Contents

CFHTTPMessageCopyBody(_:)

Gets the body from a CFHTTPMessage object.

Declaration

func CFHTTPMessageCopyBody(_ message: CFHTTPMessage) -> Unmanaged<CFData>?

Parameters

  • message:

    The message to examine.

Return Value

A CFData object or NULL if there was a problem creating the object or if the there is no message body. Ownership follows the The Create Rule.

See Also

HTTP Messages