Skip to content

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

Open
willcosgrove wants to merge 1 commit into
socketry:mainfrom
willcosgrove:raw-transmit
Open

Add Socket#raw_transmit to push data without encoding it#5
willcosgrove wants to merge 1 commit into
socketry:mainfrom
willcosgrove:raw-transmit

Conversation

@willcosgrove
Copy link
Copy Markdown

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

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.

1 participant