Module: Genesis::Http::Protocol

Includes:
Protocol
Included in:
Handler
Defined in:
lib/genesis/protocol/http/protocol.rb

Overview

Implement support for HTTP protocol Levering sinatra_async, and the fact that thin uses eventmachine

Class Method Summary collapse

Methods included from Protocol

included

Class Method Details

.protocolObject



14
15
16
# File 'lib/genesis/protocol/http/protocol.rb', line 14

def self.protocol
  :http
end

.start_blockObject



10
11
12
# File 'lib/genesis/protocol/http/protocol.rb', line 10

def self.start_block
  proc { Server.start_server }
end