Tungsten v0.1.0 Tungsten.CDP.Tethering View Source

Tethering

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

Link to this section Summary

Link to this section Functions

Link to this function

bind(session, parameters, options \\ []) View Source
bind(GenServer.server(), %{port: integer()}, Tungsten.Connection.exec_options()) ::
  {:ok, map()} | {:error, term()}

Tethering.bind

Request browser port binding.

Link to this function

unbind(session, parameters, options \\ []) View Source
unbind(
  GenServer.server(),
  %{port: integer()},
  Tungsten.Connection.exec_options()
) :: {:ok, map()} | {:error, term()}

Tethering.unbind

Request browser port unbinding.