An open API service indexing awesome lists of open source software.

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)

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.