Skip to content

Socket use sockets for responses#25

Open
chiengineer wants to merge 12 commits intomasterfrom
SOCKET-use-sockets-for-responses
Open

Socket use sockets for responses#25
chiengineer wants to merge 12 commits intomasterfrom
SOCKET-use-sockets-for-responses

Conversation

@chiengineer
Copy link
Copy Markdown
Owner

@chiengineer chiengineer commented Apr 25, 2017

impliments pubsub for socket handling for joining a basic room:lobby can be tested via the commandline tool wsc https://github.com/raphael/wsc

connect via websocket:

$ wsc ws://localhost:4000/ws
Connected to ws://localhost:4000/ws
> room:lobby # connect to channel
> hello!
< hello!

broadcast to a channel via iex (or other process)

Phoenix.PubSub.broadcast(JsonSvc.Channels.Room, "room:lobby", "hey friends")

in socket appears as:

< hey friends

still need to write tests.

Phase 2 involves creating room tokens that will fetch/spawn workers to relay status of post requests

@jkantarek jkantarek force-pushed the SOCKET-use-sockets-for-responses branch from d3bf56e to a6d31d1 Compare May 19, 2017 21:23
@jkantarek jkantarek force-pushed the SOCKET-use-sockets-for-responses branch 3 times, most recently from 7c2bdd5 to 12ee205 Compare May 19, 2017 21:53
@chiengineer chiengineer force-pushed the SOCKET-use-sockets-for-responses branch 2 times, most recently from f35f752 to 95bcf4d Compare May 23, 2017 01:04
@chiengineer chiengineer force-pushed the SOCKET-use-sockets-for-responses branch from 95bcf4d to 6f601b7 Compare May 23, 2017 01:31
@chiengineer chiengineer force-pushed the SOCKET-use-sockets-for-responses branch from 6f601b7 to aff9798 Compare May 23, 2017 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants