Module: H2

Defined in:
lib/h2.rb,
lib/h2/client.rb,
lib/h2/stream.rb,
lib/h2/version.rb,
lib/h2/client/celluloid.rb,
lib/h2/client/concurrent.rb,
lib/h2/client/tcp_socket.rb

Defined Under Namespace

Modules: Blockable, On Classes: Client, Stream

Constant Summary collapse

AUTHORITY_KEY =

http/2 psuedo-headers

':authority'
METHOD_KEY =
':method'
PATH_KEY =
':path'
SCHEME_KEY =
':scheme'
STATUS_KEY =
':status'
USER_AGENT =
{
  'user-agent' => "h2/#{H2::VERSION} #{RUBY_ENGINE}-#{RUBY_VERSION}/#{RUBY_PLATFORM}"
}
REQUEST_METHODS =
[
  :get,
  :delete,
  :head,
  :options,
  :patch,
  :post,
  :put
]
VERSION =
'0.2.0'