Class: ZimbraInterceptingProxy::Connection
- Inherits:
-
Object
- Object
- ZimbraInterceptingProxy::Connection
- Defined in:
- lib/zimbra_intercepting_proxy/connection.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#buffer ⇒ Object
Returns the value of attribute buffer.
-
#done ⇒ Object
Returns the value of attribute done.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#started ⇒ Object
Returns the value of attribute started.
Instance Method Summary collapse
-
#initialize ⇒ Connection
constructor
A new instance of Connection.
Constructor Details
#initialize ⇒ Connection
Returns a new instance of Connection.
6 7 8 9 10 11 12 |
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 6 def initialize @headers = nil @body = "" @started = false @done = false @buffer = '' end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
4 5 6 |
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 4 def body @body end |
#buffer ⇒ Object
Returns the value of attribute buffer.
4 5 6 |
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 4 def buffer @buffer end |
#done ⇒ Object
Returns the value of attribute done.
4 5 6 |
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 4 def done @done end |
#headers ⇒ Object
Returns the value of attribute headers.
4 5 6 |
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 4 def headers @headers end |
#started ⇒ Object
Returns the value of attribute started.
4 5 6 |
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 4 def started @started end |