Contents

CFHTTPMessageCopySerializedMessage(_:)

Serializes a CFHTTPMessage object.

Declaration

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

Return Value

A CFData object containing the serialized message, or NULL if there was a problem creating the object. Ownership follows the The Create Rule.

Discussion

This function returns a copy of a CFHTTPMessage object in serialized format that is ready for transmission.

See Also

HTTP Messages