lib/faye/adapters/goliath.rb in faye-websocket-0.7.3 vs lib/faye/adapters/goliath.rb in faye-websocket-0.7.4
- old
+ new
@@ -19,10 +19,16 @@
end
end
class Goliath::API
include Faye::WebSocket::Adapter
+ alias :goliath_call :call
+
+ def call(env)
+ @env = env
+ goliath_call(env)
+ end
end
class Goliath::Request
alias :goliath_process :process
@@ -42,6 +48,5 @@
def headers_output
(status == 101) ? '' : goliath_headers_output
end
end
-