Class: Goliath::Response

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

Instance Method Summary collapse

Instance Method Details

#goliath_headObject



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

alias :goliath_head :head

#goliath_headers_outputObject



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

alias :goliath_headers_output :headers_output

#headObject



45
46
47
# File 'lib/faye/adapters/goliath.rb', line 45

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

#headers_outputObject



49
50
51
# File 'lib/faye/adapters/goliath.rb', line 49

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