getFeedMessage

suspend fun getFeedMessage(feedUrl: Url): Result<FeedMessage>(source)

Fetches and decodes a GTFS Realtime protobuf feed from the given URL.

Return

a Result containing the decoded FeedMessage on success, or the exception on failure

Parameters

feedUrl

Fully qualified URL of the GTFS Realtime protobuf feed