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! :grinning_face_with_smiling_eyes:

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

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)

Last Post!

mruoss

mruoss

Does fresh offer connection pooling? E.g. like Finch for plain HTTP?

Where Next?

Popular in Announcing Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36820 110
New
bryanjos
Hi, I just published version 0.23.0 of Elixirscript. https://github.com/bryanjos/elixirscript/blob/master/CHANGELOG.md Most of the chan...
New
mischov
import Meeseeks.CSS html = HTTPoison.get!("https://news.ycombinator.com/").body for story <- Meeseeks.all(html, css("tr.athing")) do...
New
tmbb
I’ve published the first version of my Makeup library. It’s a syntax highlighter for Elixir in the spirit of Pygments, Currently it highl...
New
josevalim
Yes, yet another parser combinator library! Most of the parser combinators in the ecosystem are either compile-time, often using AST tra...
159 19951 141
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 30486 241
New
ityonemo
Currently just starting out on a new mini-project - getting zig NIFs to run in elixir. https://github.com/ityonemo/zigler The idea here...
New

Other popular topics Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

We're in Beta

About us Mission Statement