Sha256: 421bb5bbd2aa2ba9a1ec63fe74da072ff2d350a86e7299a086aa47ddbb89da17
Contents?: true
Size: 841 Bytes
Versions: 3
Compression:
Stored size: 841 Bytes
Contents
module KJess # Request is the base Request Protocol. All Requests made to the Kestrel # server are decendants of this class. # # The Request class holds the registry of all the Request decendent classes. class Request < Protocol Registry = Hash.new def self.registry Registry end def self.valid_responses( list = nil ) @valid_responses = [ list ].flatten if list @valid_responses end end end require 'kjess/response' require 'kjess/request/flush' require 'kjess/request/flush_all' require 'kjess/request/delete' require 'kjess/request/dump_stats' require 'kjess/request/get' require 'kjess/request/quit' require 'kjess/request/reload' require 'kjess/request/set' require 'kjess/request/shutdown' require 'kjess/request/stats' require 'kjess/request/status' require 'kjess/request/version'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kjess-1.2.0 | lib/kjess/request.rb |
kjess-1.1.0 | lib/kjess/request.rb |
kjess-1.0.0 | lib/kjess/request.rb |