Instance Method

URLSession:writeClosedForStreamTask:

Tells the delegate that the write side of the underlying socket has been closed.

Declaration

- (void)URLSession:(NSURLSession *)session writeClosedForStreamTask:(NSURLSessionStreamTask *)streamTask;

Parameters

session

The session containing the stream task that closed writes.

streamTask

The stream task that closed writes.

Discussion

This method may be called even if no writes are currently in progress.

See Also

Handling Closing Events

- URLSession:readClosedForStreamTask:

Tells the delegate that the read side of the underlying socket has been closed.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software