Class: MicroQ::Middleware::Chain::Server
- Defined in:
- lib/micro_q/middleware/chain.rb
Instance Method Summary collapse
-
#initialize ⇒ Server
constructor
A new instance of Server.
Methods inherited from Base
#add, #add_after, #add_before, #call, #clear, #entries, #remove
Constructor Details
#initialize ⇒ Server
Returns a new instance of Server.
99 100 101 102 103 104 105 106 |
# File 'lib/micro_q/middleware/chain.rb', line 99 def initialize @last = MicroQ::Middleware::Server::Statistics @entries = [ MicroQ::Middleware::Server::Timeout, MicroQ::Middleware::Server::Retry, MicroQ::Middleware::Server::Connection ] end |