chroxy v0.7.0 Chroxy.ProxyRouter
Maps connection metadata (such as page_id in case of Chrome) in order to route incoming request to the correct browser process. Will monitor browser processes and automatically remove regsitrations if a browser process dies during the course of operation.
Link to this section Summary
Functions
Child specification for supervision.
Returns a specification to start this module under a supervisor.
Delete entry with key and demonitor.
Get browser process registered with key
Store browser process against key and monitor
Start new ProxyRouter registered with name Elixir.Chroxy.ProxyRouter
Link to this section Types
key()
key() :: String.t()
key() :: String.t()
Link to this section Functions
child_spec()
child_spec() :: Supervisor.child_spec()
child_spec() :: Supervisor.child_spec()
Child specification for supervision.
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor.
delete(key)
delete(key()) :: :ok
delete(key()) :: :ok
Delete entry with key and demonitor.
get(key)
Get browser process registered with key
put(key, proc)
Store browser process against key and monitor
start_link()
Start new ProxyRouter registered with name Elixir.Chroxy.ProxyRouter