Contents

URLSessionStreamDelegate

A protocol that defines methods that URL session instances call on their delegates to handle task-level events specific to stream tasks.

Declaration

protocol URLSessionStreamDelegate : URLSessionTaskDelegate

Overview

In addition to these methods, be sure to implement the methods in the URLSessionTaskDelegate and URLSessionDelegate protocols to handle events common to all task types and session-level events, respectively.

Topics

Handling rerouting

Completing stream capture

Handling closing events

See Also

Adding stream tasks to a session