lib/rack/amf/middleware/pass_through.rb in rack-amf-0.0.4 vs lib/rack/amf/middleware/pass_through.rb in rack-amf-1.0.0

- old
+ new

@@ -1,11 +1,12 @@ require 'rack/amf/middleware' module Rack::AMF::Middleware #:nodoc: - # Middleware which simply passes AMF requests through. Sets env['rack-amf.request'] - # to the Rack::AMF::Request object and env['rack-amf.response'] to the - # Rack::AMF::Response object. Simply modify the response as necessary and it - # will be automatically serialized and sent. + # Middleware which simply passes AMF requests through. If the request is a + # valid AMF request to be handled, sets <tt>env ['rack-amf.request']</tt> to + # an initialized RocketAMF::Request object and <tt>env ['rack-amf.response']</tt> + # to a RocketAMF::Response object. Simply modify the response as necessary + # and it will be automatically serialized and sent. class PassThrough include Rack::AMF::Middleware def initialize app, options={} @app = app \ No newline at end of file