Class: Goliath::Response

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

Instance Method Summary collapse

Instance Method Details

#goliath_headObject



36
# File 'lib/faye/adapters/goliath.rb', line 36

alias :goliath_head :head

#goliath_headers_outputObject



37
# File 'lib/faye/adapters/goliath.rb', line 37

alias :goliath_headers_output :headers_output

#headObject



39
40
41
# File 'lib/faye/adapters/goliath.rb', line 39

def head
  (status == 101) ? '' : goliath_head
end

#headers_outputObject



43
44
45
# File 'lib/faye/adapters/goliath.rb', line 43

def headers_output
  (status == 101) ? '' : goliath_headers_output
end