Class: Thin::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/faye/adapters/thin.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#asyncObject

Returns the value of attribute async.



56
57
58
# File 'lib/faye/adapters/thin.rb', line 56

def async
  @async
end

Instance Method Details

#headObject



59
60
61
62
# File 'lib/faye/adapters/thin.rb', line 59

def head
  return '' if async and status == 101
  thin_head
end

#thin_headObject



57
# File 'lib/faye/adapters/thin.rb', line 57

alias :thin_head :head