Skip to content
#

websocket

Here are 7,635 public repositories matching this topic...

hoppscotch
Gunni
Gunni commented Oct 13, 2021

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to realtime
  2. Paste url wss://ris-live.ripe.net/v1/ws/?client=hoppscotch.io
  3. Observe connect is disabled
  4. Remove parameter, quickly undo it and click connect (also a bug)
  5. Send { "type": "ris_subscribe" } to the remote server
  6. Observe you receive
bug good first issue
aschiffmann
aschiffmann commented Apr 21, 2021

Checklist

  • Dependencies installed
  • No typos
  • Searched existing issues and docs

Issue Description

When using the RateLimiter Middleware with a rate between 0 and 1 all events will be rejected instead of applying the specified rate. E.g.: e.Use(middleware.RateLimiter(middleware.NewRateLimiterMemoryStore(0.5)))

I am not saying that it is a common use case to have

Improve this page

Add a description, image, and links to the websocket topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the websocket topic, visit your repo's landing page and select "manage topics."

Learn more