leostera / leostera/ws

Implement tentative interface

Open
#1 0 comments 0 reactions 1 assignee View on GitHub

@leostera is already working on this.

Since Jul 12, 2016.

enhancement
Dominant language
Erlang
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Server

  • ws:listen/1, use gen_tcp to open a socket
  • Implement RFC6455
  • ws:connections/1, return all open connections for a given server
  • ws:send/2, to send a message to an open socket
  • ws:close/1, close a socket

Client

  • ws:open/2, pass in a socket URI and a callback module
  • ws:on/3, pass a client, an event (close open message error) and a callback fun or MFA

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.