Skip to content

Simple Phoenix Channel application that reacts specially to some requests (useful if you want to build your own phoenix channel client)

License

Notifications You must be signed in to change notification settings

PragTob/phoenix_echo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhoenixEcho Build Status

A simple phoenix app with just one channel that you can use to test your phoenix channel client. The channel has multiple different behaviours starting from just echoing messages it was send, over broadcasting, raising errors, denying access and closing connections.

The socket to connect to is "ws://localhost:4000/socket/websocket" and rooms that can be joind are "echo:your_thing". For guidance on what events are supported and what they do you can check out the echo_channel or even better its integration test suite.

Up and running

You got to have elixir 1.3+ and Erlang 18+ installed.

To start the Phoenix app:

  • Install dependencies with mix deps.get
  • Start Phoenix endpoint with mix phoenix.server
  • Run tests via mix test

About

Simple Phoenix Channel application that reacts specially to some requests (useful if you want to build your own phoenix channel client)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages