public interface NSURLConnectionDataDelegate extends NSURLConnectionDelegate
Modifier and Type | Method and Description |
---|---|
default void |
didFinishLoading(NSURLConnection p1)
It is used after the connection has finished loading successfully.
|
default void |
didReceiveData(NSURLConnection connection,
NSData data)
It is used after the connection has loaded the received data.
|
default void |
didReceiveResponse(NSURLConnection connection,
NSURLResponse response)
It is used after the connection has received enough data for the URL
construction as response to the request.
|
didFailWithError
default void didReceiveData(NSURLConnection connection, NSData data)
connection
- The connection that sends the message.data
- The new data.default void didReceiveResponse(NSURLConnection connection, NSURLResponse response)
connection
- The connection that sends the message.response
- The URL response of request.default void didFinishLoading(NSURLConnection p1)
p1
- The connection that sends the message.Copyright © 2020. All rights reserved.