bunopnu

bunopnu

Fresh - WebSocket client built atop the Mint

Hi yall,

I am working on a WebSocket client for some time now, aiming to develop a WebSocket client that’s both simple and reliable.

I’m eagerly looking forward to receiving your feedback! :smile:

GitHub - bunopnu/fresh: WebSocket client for Elixir, built atop the Mint ecosystem

Most Liked

bunopnu

bunopnu

I typically refrain from bothering forum with releases, but I believe these are noteworthy improvements that should be mentioned :sweat_smile:

v0.4.1 - 29th September 2023

Changed

  • The payload for :reply has been refined to Mint.WebSocket.frame() | [Mint.WebSocket.frame()], meaning it can now be either a single WebSocket frame or a list of WebSocket frames.

v0.4.0 - 23rd September 2023

Added

  • Exponential backoff strategy for reconnection attempts.
  • :hibernate_after Option to automatically hibernate the WebSocket connection process after a specified duration of inactivity, helping conserve system resources.

Changed

  • Enhanced documentation for a more user-friendly experience.
carterbryden

carterbryden

This is awesome! I’ve been thinking about creating a reverse proxy with Elixir, something like this might make that a lot easier.

bunopnu

bunopnu

I found the bug.

It is because of a missing path, adding a “/” at the end of the URI solves the issue, it will be fixed in next release :slight_smile:

(sorry for late response, I was busy with my school)

jimsynz

jimsynz

Ash Core Team

I’m also working on a reverse proxy that uses bandit and mint. Keen to compare notes.

bunopnu

bunopnu

v0.4.3 - 26th October 2023

Fixed

  • Failing to connect when no path is given in URI.

v0.4.2 - 12th October 2023

Added

  • New open?/1 function, which allows you to check whether a connection is open.

Where Next?

Popular in Libraries Top

OvermindDL1
Been making an MLElixir thing (not released yet…) for fun in spare time in the past day. I’m just trying to see how much I can get an ML...
132 13487 106
New
cjen07
parameterized pipe in elixir: |n> edit: negative index in |n> and mixed usage with |> are supported example: use ParamP...
New
pkrawat1
Presenting Aviacommerce, open source e-commerce platform in Elixir Aviacommerce is an open source e-commerce platform in Elixir. We at...
New
jakub-zawislak
Hi everyone, I’m coming from the Symfony (PHP) framework. I like Phoenix, but it has a one thing that was build much better in the Symfo...
New
Qqwy
Hello everyone, I wrote a small library today called MapDiff. It returns a map listing the (smallest amount of) changes to get from map...
New
woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
alisinabh
Hey everyone i’ve developed a library for Jalaali calendar for elixir which supports converting Gregorian dates to Jalaali and vice vers...
New
ahamez
Hi everyone, I’ve been working on this protobuf library for 3 years. We use it in the company I work for, EasyMile, to communicate with ...
New
gabrielpoca
Hello everyone! I want to share with you something that I’m really proud of: https://stillstatic.io/ Still is a static site builder for...
New
KallDrexx
For a good number of months I've been working on creating a very basic RTMP live video streaming server. Now that I have a very, very ba...
New

Other popular topics Top

sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

Sub Categories:

We're in Beta

About us Mission Statement