Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
A Faye-Websocket based Websocket or ActionCable client.
Add this line to your application's Gemfile:
gem 'htmon-client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install htmon-client
Initialize client, which automatically connects and reconnects to server, by default.
client = Htmon::Client.new(server: 'ws://example.org/cable', channels: 'SystemChannel')
The autoreconnect could be disables by passing autoconnect: false to constructor.
You are able to react on open and receive events.
# Globally
Htmon::Client.on_receive do |mesage|
# content will be dumped and replied
{ command: :message ... }
end
# Instance based
client.on_receive do |mesage|
# content will be dumped and replied
{ command: :message ... }
end
If a callbacks will return nil, then the reply will be skipped.
Bug reports and pull requests are welcome on GitHub at https://github.com/timmyArch/htmon-client.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that htmon-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.