Skip to content

Add Socket#raw_transmit to push data without encoding it#5

Merged
samuel-williams-shopify merged 2 commits into
socketry:mainfrom
willcosgrove:raw-transmit
May 29, 2026
Merged

Add Socket#raw_transmit to push data without encoding it#5
samuel-williams-shopify merged 2 commits into
socketry:mainfrom
willcosgrove:raw-transmit

Conversation

@willcosgrove
Copy link
Copy Markdown
Contributor

I was using this gem with actioncable-next, and I was trying to use their "fastlane broadcast" feature which speeds up broadcasts by only encoding the payload once rather than once per connection. However it relies on raw_transmit which is not currently provided by Cable::Socket.

Types of Changes

  • New feature.

Contribution

@samuel-williams-shopify samuel-williams-shopify merged commit 27181df into socketry:main May 29, 2026
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants