chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.tethering / TetheringDomain

TetheringDomain

class TetheringDomain

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

Functions

accepted

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

fun accepted(): Flow<AcceptedEvent>

bind

Request browser port binding.

suspend fun bind(input: BindRequest): Unit

events

Subscribes to all events related to this domain.

fun events(): Flow<TetheringEvent>

unbind

Request browser port unbinding.

suspend fun unbind(input: UnbindRequest): Unit