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
CFHTTPMessageCFHTTPMessageAddAuthentication(_:_:_:_:_:_:)CFHTTPMessageAppendBytes(_:_:_:)CFHTTPMessageApplyCredentialDictionary(_:_:_:_:)CFHTTPMessageApplyCredentials(_:_:_:_:_:)CFHTTPMessageCopyAllHeaderFields(_:)CFHTTPMessageCopyBody(_:)CFHTTPMessageCopyHeaderFieldValue(_:_:)CFHTTPMessageCopyRequestURL(_:)CFHTTPMessageCopyResponseStatusLine(_:)CFHTTPMessageCopySerializedMessage(_:)CFHTTPMessageCopyVersion(_:)CFHTTPMessageCreateCopy(_:_:)CFHTTPMessageCreateEmpty(_:_:)CFHTTPMessageCreateRequest(_:_:_:_:)