readBytes

fun Url.readBytes(timeoutInMs: Number = 30000, maxReadSize: Number = 250000000, context: CoroutineContext? = null): ByteArray

This helper function reads the contents of the URL. This duplicates the API of other URL classes