https://github.com/anonrig/elixir-line
Client Websocket Implementation of Line in Elixir (WIP)
https://github.com/anonrig/elixir-line
Last synced: 2 months ago
JSON representation
Client Websocket Implementation of Line in Elixir (WIP)
- Host: GitHub
- URL: https://github.com/anonrig/elixir-line
- Owner: anonrig
- Created: 2018-04-02T19:23:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-12T16:28:10.000Z (about 8 years ago)
- Last Synced: 2025-06-03T03:09:51.945Z (about 1 year ago)
- Language: Elixir
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Line
Work in progress implementation of Line client in Elixir. Since, I'm a beginner and still learning Elixir, please point out my errors, my mistakes, so that I can learn quickly!
## Installation
Run `mix deps.get` on main root.
## Run
Run `iex -S mix` to run interactive elixir shell.
Then:
```elixir
pid = Line.connect()
json = %{
text: "yagiz"
}
Line.send(pid, "hello", json)
Process.sleep(:infinity)
```
## Packages
- Poison - JSON encoding/decoding
- Websockex - Websocket implementation on Elixir.