Package io.ably.lib.types
Interface AsyncHttpPaginatedResponse.Callback
-
- Enclosing class:
- AsyncHttpPaginatedResponse
public static interface AsyncHttpPaginatedResponse.CallbackAn interface allowing a client to be notified of the outcome of an asynchronous operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
onResponse
void onResponse(AsyncHttpPaginatedResponse response)
Called when the associated request completes with an Http response,
-
onError
void onError(ErrorInfo reason)
Called when the associated operation completes with an error.- Parameters:
reason- information about the error.
-
-