Returns the value of a property for a stream.
- iOS 2.0+
- macOS 10.1+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The stream to examine.
The name of the stream property to obtain. The available properties for standard Core Foundation streams are listed in CFStream.
The value of the property
property. Ownership follows the The Create Rule.
Each type of stream can define a set of properties that either describe or configure individual streams. A property can be any information about a stream, other than the actual data the stream handles. Examples include the headers from an HTTP transmission, the expected number of bytes, file permission information, and so on. Use
CFRead to modify the value of a property, although some properties are read-only.