fetchROLIEFeed

suspend fun fetchROLIEFeed(url: String, responseCallback: (<Error class: unknown class>) -> Unit? = null): <Error class: unknown class><<Error class: unknown class>>

Fetch and parse a ROLE feed from a given URL.

Return

The resulting ROLIEFeed, wrapped in a Result monad, if successful. A failed Result wrapping the thrown Throwable in case of an error.

Parameters

url

the URL where the ROLIE feed is found

responseCallback

An optional callback to further evaluate the HttpResponse.