pl.wendigo.chrome.domain.tethering / TetheringDomain

TetheringDomain

class TetheringDomain (source)

The Tethering domain defines methods and events for browser port binding.

Functions

accepted

fun accepted(): Flowable<AcceptedEvent>

Informs that port was successfully bound and got a specified connection id.

acceptedTimed

fun acceptedTimed(): Flowable<Timed<AcceptedEvent>>

Informs that port was successfully bound and got a specified connection id.

bind

fun bind(input: BindRequest): Single<ResponseFrame>

Request browser port binding.

events

fun events(): Flowable<ProtocolEvent>

Returns flowable capturing all Tethering domains events.

unbind

fun unbind(input: UnbindRequest): Single<ResponseFrame>

Request browser port unbinding.