Open Classswift 6.0.3Foundation
Stream
class Stream
class Stream
import Foundation
class NSObject
The root class of most Foundation class hierarchies.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol NSObjectProtocol : AnyObject
The NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
override init()
weak var delegate: (any StreamDelegate)?
var streamError: (any Error)? { get }
var streamStatus: Stream.Status { get }
func close()
func open()
func property(forKey key: Stream.PropertyKey) -> AnyObject?
func remove(from aRunLoop: RunLoop, forMode mode: RunLoop.Mode)
func schedule(in aRunLoop: RunLoop, forMode mode: RunLoop.Mode)
func setProperty(_ property: AnyObject?, forKey key: Stream.PropertyKey) -> Bool
struct Event
struct PropertyKey
enum Status
class InputStream
class OutputStream