Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.15 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.15 KB

Signalbroker web client

HTTP server with static file serving and Core system websocket API.

The webserver used in thes project is Cowboy.

Run

Before starting, the signalbroker must be running.

iex -S mix

grpc web

Point your browser to http://you_envoy_machine_ip:8080/. Once your web client is started click the red red field in the status bar at the bottom. Configure it by setting your Envoy ip, http://[your_envoy_server]:8081

in order to get connection working with signal_server you need envoy. Check readme on how to get started.

simpler less capable option

To access the Websocket client UI point your web browser to [http://localhost:8080/websocket_demo/web_car.html). The controlls being displayed are hardcoded in a javascript file service_client/priv/static_files/js/web_car.js.

Websocket API

The API is now documentet at this point. For a working sample of how to use the code go to priv/websocket_demo/js/web_car.js. More importantly, look at the Websocket section.