Class: EventMachine::HttpStubConnection
- Inherits:
-
Connection
- Object
- Connection
- EventMachine::HttpStubConnection
- Includes:
- Deferrable
- Defined in:
- lib/em-http/http_connection.rb
Instance Attribute Summary collapse
-
#parent ⇒ Object
Returns the value of attribute parent.
Instance Method Summary collapse
Instance Attribute Details
#parent ⇒ Object
Returns the value of attribute parent.
13 14 15 |
# File 'lib/em-http/http_connection.rb', line 13 def parent @parent end |
Instance Method Details
#connection_completed ⇒ Object
24 25 26 |
# File 'lib/em-http/http_connection.rb', line 24 def connection_completed @parent.connection_completed end |
#receive_data(data) ⇒ Object
20 21 22 |
# File 'lib/em-http/http_connection.rb', line 20 def receive_data(data) @parent.receive_data data end |
#unbind(reason = nil) ⇒ Object
28 29 30 |
# File 'lib/em-http/http_connection.rb', line 28 def unbind(reason=nil) @parent.unbind(reason) end |