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.