getNextPage

inline suspend fun <T> getNextPage(httpClient: HttpClient): Page<T>?

Fetches the next page of results.

Return

The next page of results, or null if there is no next page

Parameters

httpClient

The HTTP client to use for the request

Throws

If the request fails

If the request fails due to a bad request (4xx)

If the request fails due to a bad response from the server (5xx)

If the request fails due to too many requests sent to the server

When Horizon returns a Timeout or connection timeout occurred

If the server returns an unknown status code

When the request cannot be executed due to cancellation or connectivity problems