Contents

CFHTTPMessageCopyRequestMethod(_:)

Gets the request method from a CFHTTPMessage object.

Declaration

func CFHTTPMessageCopyRequestMethod(_ request: CFHTTPMessage) -> Unmanaged<CFString>?

Parameters

  • request:

    The message to examine. This must be a request message.

Return Value

A CFString object containing a copy of the message’s request method, or NULL if there was a problem creating the object. Ownership follows the The Create Rule.

See Also

HTTP Messages