minimalchat / daemon

Minimal Chat's API server daemon
https://minimal.chat
BSD 3-Clause "New" or "Revised" License
55 stars 8 forks source link

Feature: Operator connection #19

Closed mihok closed 7 years ago

mihok commented 7 years ago

Bi-directional communication between client and operator.

Lost the ability to send messages via API due to needing to refactor how socket connections are saved on the daemon. Before, we would save the socket connection on the client or operator objects, this poses some problems with reuse, as well as includes an unnecessary socket key on API response. For now I'll leave out the ability to post messages via API to a client (from an operator) with a 405 or 501.