Updated Interfaces (markdown)
parent
7e39930d03
commit
49cba882e3
1 changed files with 1 additions and 1 deletions
|
@ -15,5 +15,5 @@ handle_cast({game, Command, Headers, Data}, State) -> {noreply, NewState}</pre>
|
|||
|
||||
- `Headers` are a proplist [[http://www.erlang.org/doc/man/proplists.html]] so you can use proplist:get_value(token) to get the value of the header "Token".
|
||||
- `Data` is just a String.
|
||||
- `server` and `game` are atoms to indicate the receiver.
|
||||
- `Command` is just a String.
|
||||
|
||||
|
|
Reference in a new issue