EventSource

interface EventSource

Types

Link copied to clipboard
fun interface Factory

Functions

Link copied to clipboard
abstract fun cancel()

Immediately and violently release resources held by this event source. This does nothing if the event source has already been closed or canceled.

Link copied to clipboard
abstract fun request(): Request

Returns the original request that initiated this event source.