about summary refs log tree commit homepage
path: root/lib/rainbows/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/client.rb')
-rw-r--r--lib/rainbows/client.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/rainbows/client.rb b/lib/rainbows/client.rb
new file mode 100644
index 0000000..8956509
--- /dev/null
+++ b/lib/rainbows/client.rb
@@ -0,0 +1,9 @@
+# -*- encoding: binary -*-
+# :enddoc:
+
+require 'rainbows/read_timeout'
+
+class Rainbows::Client < Kgio::Socket
+  include Rainbows::ReadTimeout
+end
+Kgio.accept_class = Rainbows::Client