asChannelOrNull

open suspend override fun asChannelOrNull(): Channel(source)

Requests to get this behavior as a Channel, returns null if the channel isn't present.

Throws

RequestException

if something went wrong during the request.