TetheringDomain

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

Official doc

Functions

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
suspend fun bind(port: Int): BindResponse
suspend fun bind(input: BindRequest): BindResponse

Request browser port binding.

Link copied to clipboard
fun events(): Flow<TetheringEvent>

Subscribes to all events related to this domain.

Link copied to clipboard
suspend fun unbind(port: Int): UnbindResponse
suspend fun unbind(input: UnbindRequest): UnbindResponse

Request browser port unbinding.