Platforms to show: All Mac Windows Linux Cross-Platform

Back to CFHTTPMessageMBS class.

CFHTTPMessageMBS.AddAuthentication(authenticationFailureResponse as CFHTTPMessageMBS, username as CFStringMBS, password as CFStringMBS, authenticationScheme as CFStringMBS, forProxy as Boolean) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Adds authentication details.

Tries to modify request to contain the authentication information requested by authenticationFailureResponse (which presumably is a 401 or 407 response). Returns TRUE if successful; FALSE otherwise (leaving request unmodified). If authenticationScheme is NULL, the strongest supported scheme listed in failedResponse will be used.

CFHTTPMessageMBS.AppendBytes(s as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Adds additional bytes to the message.

The following function appends the given bytes to the message given (parsing out any control information if appropriate).
Returns FALSE if a parsing error occurs while processing the new data.

CFHTTPMessageMBS.Body as CFBinaryDataMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The body of this message.

(Read and Write computed property)

CFHTTPMessageMBS.Copy as CFHTTPMessageMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a copy of the HTTP message.

Returns nil on any error.

CFHTTPMessageMBS.HeaderField(headerfield as CFStringMBS) as CFStringMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Set or Get one of the header fields of the Message.

(Read and Write computed property)

CFHTTPMessageMBS.HeaderFields as CFDictionaryMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
All header fields in one big CFDictionary.

CFHTTPMessageMBS.IsHeaderComplete as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether further header data is expected by the message.

CFHTTPMessageMBS.IsRequest as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether the message is a response or a request.

CFHTTPMessageMBS.RequestMethod as CFStringMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The request method.

CFHTTPMessageMBS.RequestURL as CFURLMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The request URL.

CFHTTPMessageMBS.ResponseStatusCode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The response status code.

See RFC 2616 for the codes.

CFHTTPMessageMBS.ResponseStatusLine as CFStringMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The response status line.

CFHTTPMessageMBS.SerializedMessage as CFBinaryDataMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
This message with all data stored in one CFBinaryData object to store in e.g. a file.

CFHTTPMessageMBS.Version as CFStringMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The HTTP version of the message.

The items on this page are in the following plugins: MBS MacCF Plugin.


The biggest plugin in space...