---
title: StreamDelegate
framework: foundation
role: symbol
role_heading: Protocol
path: foundation/streamdelegate
---

# StreamDelegate

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

## Declaration

```swift
protocol StreamDelegate : NSObjectProtocol
```

## Mentioned in

Uploading streams of data

## Topics

### Using Streams

- [stream(_:handle:)](foundation/streamdelegate/stream(_:handle:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Streams

- [Stream](foundation/stream.md)
- [InputStream](foundation/inputstream.md)
- [OutputStream](foundation/outputstream.md)
