Class: ZimbraInterceptingProxy::Connection

Inherits:
Object
  • Object
show all
Defined in:
lib/zimbra_intercepting_proxy/connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConnection

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

#bodyObject

Returns the value of attribute body.



4
5
6
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 4

def body
  @body
end

#bufferObject

Returns the value of attribute buffer.



4
5
6
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 4

def buffer
  @buffer
end

#doneObject

Returns the value of attribute done.



4
5
6
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 4

def done
  @done
end

#headersObject

Returns the value of attribute headers.



4
5
6
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 4

def headers
  @headers
end

#startedObject

Returns the value of attribute started.



4
5
6
# File 'lib/zimbra_intercepting_proxy/connection.rb', line 4

def started
  @started
end