Platforms to show: All Mac Windows Linux Cross-Platform
CFHTTPMessageCreateEmptyMBS(isRequest as boolean) as CFHTTPMessageMBS
Function:
Creates a new empty http message.
Notes:
Returns nil on any error.
Creates an empty request or response, which you can then append bytes to via CFHTTPMessage.AppendBytes(). The HTTP header information will be parsed out as the bytes are appended.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
global method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | Yes | No | No | Yes, macOS only | No |
Notes:
Returns nil on any error.
Creates an empty request or response, which you can then append bytes to via CFHTTPMessage.AppendBytes(). The HTTP header information will be parsed out as the bytes are appended.
CFHTTPMessageCreateRequestMBS(requestMethod as CFStringMBS, url as CFURLMBS, httpVersion as CFStringMBS) as CFHTTPMessageMBS
Function:
Creates a new HTTP message as a request.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
global method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | Yes | No | No | Yes, macOS only | No |
Some examples using this method:
CFHTTPMessageCreateResponseMBS(statusCode as Integer, statusDescription as CFStringMBS, httpVersion as CFStringMBS) as CFHTTPMessageMBS
Function:
Creates a new HTTP message as a response.
Notes: Pass nil to use the standard description for the given status code, as found in RFC 2616.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
global method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | Yes | No | No | Yes, macOS only | No |
Notes: Pass nil to use the standard description for the given status code, as found in RFC 2616.
kCFHostMBSGetTypeID as Integer
Function:
Returns the Type ID of a CFHostMBS object.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
global method | CoreFoundation Network | MBS MacCF Plugin | 5.2 | Yes | No | No | Yes, macOS only | No |
kCFHTTPMessageMBSGetTypeID as Integer
Function:
Returns the Type ID of a CFHTTPMessageMBS object.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
global method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | Yes | No | No | Yes, macOS only | No |
kCFReadStreamMBSGetTypeID as Integer
Function:
Returns the Type ID of a CFReadStreamMBS object.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
global method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | Yes | No | No | Yes, macOS only | No |
kCFSocketMBSGetTypeID as Integer
Function:
Returns the Type ID of a CFSocketMBS object.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
global method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | Yes | No | No | Yes, macOS only | No |
kCFWriteStreamMBSGetTypeID as Integer
Function:
Returns the Type ID of a CFWriteStreamMBS object.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
global method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | Yes | No | No | Yes, macOS only | No |
The items on this page are in the following plugins: MBS MacCF Plugin.
Links
MBS FileMaker blog