Registry / networking / socketry

socketry

JSON →
library0.5.1rbrubygemsunverified

Socketry wraps Ruby's sockets with an advanced timeout engine which is able to provide multiple simultaneous timeout behaviors in a thread-safe way.

gem install socketry
INSTALL
IMPORT
SIG · SOCKETRY
S
socketry
networkingrubyv0.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Socketry
require 'socketry'

Connect to a TCP server with timeout support

require 'socketry' Socketry::TCP::Socket.connect('example.com', 80) do |socket| socket.write "GET / HTTP/1.0\r\n\r\n" puts socket.read end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
32
Amazon
1
Resources
socketry — gem install socketry · libregistry