Tungsten v0.1.0 Tungsten.Transport behaviour View Source

Transport behaviour

The Transport behaviour defines a CDP transport handler. It should be implemented by all modules that provide an alternative to the websocket transport that is shipped with Tungsten.

Link to this section Summary

Types

A tuple with the transport module and options

Callbacks

Starts the transport and subscribes the given subscriber

Link to this section Types

Link to this type

transport() View Source
transport() :: {module(), Keyword.t()}

A tuple with the transport module and options

Link to this section Callbacks

Link to this callback

start_link(opts) View Source
start_link(opts :: keyword()) :: GenServer.on_start()

Starts the transport and subscribes the given subscriber