about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb
index 643bdd2..909e97e 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -39,9 +39,11 @@ module Rainbows
   require 'rainbows/const'
   require 'rainbows/http_parser'
   require 'rainbows/http_server'
-  require 'rainbows/response'
-  require 'rainbows/client'
-  require 'rainbows/process_client'
+  autoload :RackInput, 'rainbows/rack_input'
+  autoload :Response, 'rainbows/response'
+  autoload :ProcessClient, 'rainbows/process_client'
+  autoload :TimedRead, 'rainbows/timed_read'
+  autoload :Client, 'rainbows/client'
   autoload :Base, 'rainbows/base'
   autoload :Sendfile, 'rainbows/sendfile'
   autoload :AppPool, 'rainbows/app_pool'