Sha256: 5bfb55e55a61c2b741cb57f46f1f731ec1a8ffeb7a838b9bb24ef0b1f5bb6b89
Contents?: true
Size: 1.14 KB
Versions: 6
Compression:
Stored size: 1.14 KB
Contents
# -*- encoding: binary -*- require 'rainbows/rev/core' require 'rainbows/rev/client' require 'rainbows/rev/deferred_response' module Rainbows # Implements a basic single-threaded event model with # {Rev}[http://rev.rubyforge.org/]. It is capable of handling # thousands of simultaneous client connections, but with only a # single-threaded app dispatch. It is suited for slow clients and # fast applications (applications that do not have slow network # dependencies) or applications that use DevFdResponse for deferrable # response bodies. It does not require your Rack application to be # thread-safe, reentrancy is only required for the DevFdResponse body # generator. # # Compatibility: Whatever \Rev itself supports, currently Ruby # 1.8/1.9. # # This model does not implement as streaming "rack.input" which # allows the Rack application to process data as it arrives. This # means "rack.input" will be fully buffered in memory or to a # temporary file before the application is entered. module Rev # keep-alive timeout scoreboard KATO = {} # all connected clients CONN = {} include Core end end
Version data entries
6 entries across 6 versions & 1 rubygems