Module: HTTPkit::Support::HandlerManager::Setup

Included in:
Client, HTTPkit::Server
Defined in:
lib/httpkit/support/handler_manager.rb

Overview

XXX not mutation covered

Instance Method Summary collapse

Instance Method Details

#setup_handlersObject


21
22
23
24
# File 'lib/httpkit/support/handler_manager.rb', line 21

def setup_handlers
  @handlers = Support::HandlerManager.new(@config[:handlers] || [])
  @handlers.invoke(:setup, @config, self, @connection)
end