Package io.ably.lib.types
Interface AsyncHttpPaginatedResponse.Callback
- Enclosing class:
- AsyncHttpPaginatedResponse
public static interface AsyncHttpPaginatedResponse.Callback
An interface allowing a client to be notified of the outcome
of an asynchronous operation.
-
Method Summary
Modifier and Type Method Description voidonError(ErrorInfo reason)Called when the associated operation completes with an error.voidonResponse(AsyncHttpPaginatedResponse response)Called when the associated request completes with an Http response,
-
Method Details
-
onResponse
Called when the associated request completes with an Http response, -
onError
Called when the associated operation completes with an error.- Parameters:
reason- information about the error.
-