Class: Plum::HTTPServerConnection
- Inherits:
-
ServerConnection
- Object
- Connection
- ServerConnection
- Plum::HTTPServerConnection
- Defined in:
- lib/plum/server/http_connection.rb
Constant Summary
Constants inherited from Connection
Connection::CLIENT_CONNECTION_PREFACE, Connection::DEFAULT_SETTINGS
Instance Attribute Summary
Attributes inherited from Connection
#hpack_decoder, #hpack_encoder, #local_settings, #remote_settings, #state, #streams
Attributes included from FlowControl
#recv_remaining_window, #send_remaining_window
Instance Method Summary collapse
-
#initialize(writer, local_settings = {}) ⇒ HTTPServerConnection
constructor
A new instance of HTTPServerConnection.
Methods inherited from ServerConnection
Methods inherited from Connection
Methods included from ConnectionUtils
#goaway, #ping, #push_enabled?, #settings
Methods included from FlowControl
Methods included from EventEmitter
Constructor Details
#initialize(writer, local_settings = {}) ⇒ HTTPServerConnection
Returns a new instance of HTTPServerConnection.
6 7 8 9 10 11 |
# File 'lib/plum/server/http_connection.rb', line 6 def initialize(writer, local_settings = {}) require "http/parser" @negobuf = String.new @_http_parser = setup_parser super(writer, local_settings) end |