Comments (2)
Awesome! I'd also like to use libwebsocket, but was planning on integrating it into https://github.com/celluloid/reel
Celluloid::IO should probably provide all of the same encoding support as Ruby's own IO objects. I don't happen to know all of the APIs to those as it were, but it seems like what you want to do is specify the encoding coming off the wire when you read the strings, or otherwise manually convert them if there's some kind of encoding arbitration going on (e.g. HTTP)
from celluloid-io.
Thanks Tony,
it would be great to see libwebsocket integration into Reel soon!
i will check force_encodings thing
regards
Atte.
Miguel Michelson Martinez
www.artenlinea.com
On Sat, Jun 2, 2012 at 7:41 PM, Tony Arcieri <
[email protected]
wrote:
Awesome! I'd also like to use libwebsocket, but was planning on
integrating it into https://github.com/celluloid/reelCelluloid::IO should probably provide all of the same encoding support as
Ruby's own IO objects. I don't happen to know all of the APIs to those as
it were, but it seems like what you want to do is specify the encoding
coming off the wire when you read the strings, or otherwise manually
convert them if there's some kind of encoding arbitration going on (e.g.
HTTP)
Reply to this email directly or view it on GitHub:
#18 (comment)
from celluloid-io.
Related Issues (20)
- Test suite timeouts revamp.
- C::IO::TCPSocket.new dies with IO::EAGAINWaitReadable on JRuby v9.0.3.0. HOT 12
- [Feature request] Access to socket option within UDPSocket and TCPSocket HOT 3
- "it shouldn't crash" crashes HOT 2
- Celluloid::IO behaves like a Celluloid Actor failures HOT 24
- #wait_readable and #wait_writable have different signature than the ruby methods HOT 3
- bundle install fails, missing culture/sync
- Establishing a connection in TCPSocket is not happening asynchronously HOT 2
- server-side closing of an SSLSocket doesn't cause an event HOT 1
- Does it work with ruby 2.1, 2.2, 2.3? HOT 1
- Provide an actor-level select which can accept multiple sockets
- Rubinius crashes with IO::EINPROGRESSWaitWritable when opening Celluloid::IO::TCPSocket
- tests fail randomly (about 28% of times) HOT 2
- Not bundling with ruby < 2.2 HOT 6
- strange behavour with encoding bytes in examples HOT 2
- Review of net-http-celluloid-io gem modifications HOT 2
- Run celluloid backported mode.
- test fail of actor_spec
- help with server-side disconnects in slack-ruby-client HOT 6
- Resolv::ResolvError: DNS result has no information for ... under load HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from celluloid-io.