Tungsten v0.1.0 Tungsten.CDP.Tethering View Source
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(session, parameters, options \\ [])
View Source
bind(GenServer.server(), %{port: integer()}, Tungsten.Connection.exec_options()) ::
{:ok, map()} | {:error, term()}
bind(GenServer.server(), %{port: integer()}, Tungsten.Connection.exec_options()) :: {:ok, map()} | {:error, term()}
Request browser port binding.
Link to this function
unbind(session, parameters, options \\ [])
View Source
unbind(session, parameters, options \\ [])
View Source
unbind(
GenServer.server(),
%{port: integer()},
Tungsten.Connection.exec_options()
) :: {:ok, map()} | {:error, term()}
unbind( GenServer.server(), %{port: integer()}, Tungsten.Connection.exec_options() ) :: {:ok, map()} | {:error, term()}
Request browser port unbinding.