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.



54
55
56
# File 'lib/faye/adapters/thin.rb', line 54

def async
  @async
end

Instance Method Details

#headObject



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

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

#thin_headObject



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

alias :thin_head :head