Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

CFStreamMBS.kCFHTTPAuthenticationSchemeBasic as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the authentication schemes available.

Feedback, Comments & Corrections

CFStreamMBS.kCFHTTPAuthenticationSchemeDigest as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the authentication schemes available.

Feedback, Comments & Corrections

CFStreamMBS.kCFHTTPVersion1_0 as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: HTTP Version 1.0.

Feedback, Comments & Corrections

CFStreamMBS.kCFHTTPVersion1_1 as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: HTTP Version 1.1.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamErrorDomainHTTP as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: An error domain used with the socket based streams.
Notes:
Possible error values:
kCFStreamErrorHTTPParseFailure = -1
kCFStreamErrorHTTPRedirectionLoop = -2
kCFStreamErrorHTTPBadURL = -3

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamErrorDomainSOCKS as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: SOCKS proxy error domain.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamErrorDomainSSL as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: An error domain used with the socket based streams.
Notes: Secure stream support.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyAppendToFile as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: Whether to append new bytes to an existing file.
Notes:
Property for file write streams; value should be a CFBoolean.
Set to TRUE to append to a file, rather than to replace its contents.
Requires Mac OS X 10.2

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyDataWritten as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: A property name for use with the CFWriteStream class.
Example:
dim writestream as CFWriteStreamMBS
dim c as cfobjectmbs
c=writestream.getproperty(writestream.kCFStreamPropertyDataWritten)
Notes: Value will be a CFData containing all bytes thusfar written; used to recover the data written to a memory write stream.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyHTTPAttemptPersistentConnection as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.
Notes: Value should be a CFBoolean. If this property is set to true, an HTTP stream will look for an appropriate extant persistent connection to use, and if it finds none, will try to create one.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyHTTPFinalURL as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.
Notes: Value is the CFURL from the final request; will only differ from the URL in the original request if an autoredirection has occurred.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyHTTPProxy as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: Which HTTP Proxy to use.
Notes:
HTTP proxy information is set the same way as SOCKS proxies.
Call CFReadStream.SetProperty() passing an HTTP stream and the property kCFStreamPropertyHTTPProxy.
The value should be a CFDictionary that includes at least one Host/Port pair from the keys below.
The dictionary returned by SystemConfiguration.framework can also be passed directly as the value

Keys for the dictionary to use:
kCFStreamPropertyHTTPProxyHost
kCFStreamPropertyHTTPProxyPort
kCFStreamPropertyHTTPSProxyHost
kCFStreamPropertyHTTPSProxyPort

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyHTTPProxyHost as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the keys for the proxy CFDictionary for a socket based stream.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyHTTPProxyPort as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the keys for the proxy CFDictionary for a socket based stream.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyHTTPResponseHeader as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.
Notes: Value is a CFHTTPMessage with 0 bytes data.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyHTTPShouldAutoredirect as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.
Notes: Value should be a CFBoolean.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyHTTPSProxyHost as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the keys for the proxy CFDictionary for a socket based stream.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyHTTPSProxyPort as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the keys for the proxy CFDictionary for a socket based stream.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertyShouldCloseNativeSocket as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.
Notes:
Set the value to kCFBooleanTrue if the stream should close and release the underlying native socket when the stream is released. Set the value to kCFBooleanFalse to keep the native socket from closing and releasing when the stream is released.

If the stream was created with a native socket, the default property setting on the stream is kCFBooleanFalse.

The kCFStreamPropertyShouldCloseNativeSocket can be set through CFReadStream.SetProperty or CFWriteStream.SetProperty. The property can be copied through CFReadStream.GetProperty or CFWriteStream.GetProperty.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertySocketNativeHandle as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.
Notes: Value will be a CFData containing the native handle.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertySocketRemoteHostName as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.
Notes: Value will be a CFString, or nil if unknown.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertySocketRemotePortNumber as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.
Notes: Value will be a CFNumber, or nil if unknown.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertySocketSecurityLevel as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.
Notes:
You set this property to one of the following values:
kCFStreamSocketSecurityLevelSSLv3
kCFStreamSocketSecurityLevelSSLv2
kCFStreamSocketSecurityLevelNone
kCFStreamSocketSecurityLevelNegotiatedSSL
kCFStreamSocketSecurityLevelTLSv1
(this 5 properties return CFStrings which you pass to SetProperty)

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertySOCKSPassword as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertySOCKSProxy as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.
Notes:
SOCKS Proxy usage
To set a stream to use a SOCKS proxy, call CFReadStream.SetProperty or CFWriteStream.SetProperty with the property name set to kCFStreamPropertySOCKSProxy and the value being a CFDictionary with at least the following two keys: kCFStreamPropertySOCKSProxyHost and kCFStreamPropertySOCKSProxyPort.
The dictionary returned by SystemConfiguration for SOCKS proxies will work without alteration.
The key kCFStreamPropertySOCKSProxyHost should contain a CFStringRef value representing the SOCKS proxy host. The key kCFStreamPropertySOCKSProxyPort should contain a CFNumberRef which itself is of type kCFNumberSInt32Type. This value should represent the port on which the proxy is listening.

By default, SOCKS5 will be used unless there is a kCFStreamPropertySOCKSVersion key in the CFDictionary. Its value must be kCFStreamSocketSOCKSVersion4 or kCFStreamSocketSOCKSVersion5 to set SOCKS4 or SOCKS5, respectively.

To set a user name and/or password, if required, the dictionary must contain the key(s) kCFStreamPropertySOCKSUser and/or kCFStreamPropertySOCKSPassword with the value being the user's name as a CFString and/or the user's password as a CFString, respectively.

kCFStreamPropertySOCKSProxy can be set through CFReadStream.SetProperty or CFWriteStream.SetProperty. The property can be copied through CFReadStream.GetProperty or CFWriteStream.GetProperty.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertySOCKSProxyHost as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertySOCKSProxyPort as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertySOCKSUser as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.

Feedback, Comments & Corrections

CFStreamMBS.kCFStreamPropertySOCKSVersion as CFStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: One of the property keys for a socket based stream.

Feedback, Comments & Corrections

Next items

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




Links
MBS Xojo Plugins