Protocol

StreamDelegate

An interface that delegates of a stream instance use to handle events on the stream.

Declaration

protocol StreamDelegate

Topics

Using Streams

func stream(Stream, handle: Stream.Event)

The delegate receives this message when a given event has occurred on a given stream.

Relationships

Inherits From

See Also

Streams

class Stream

An abstract class representing a stream.

class InputStream

A stream that provides read-only stream functionality.

class OutputStream

A stream that provides write-only stream functionality.