Sha256: ee5f13fbfb8a885db039488924cf5559d13ba87fa67fdfcda11556bc74e83f0f
Contents?: true
Size: 631 Bytes
Versions: 7
Compression:
Stored size: 631 Bytes
Contents
## # Ancestor of all middlewares class Midori::Middleware # Init a middleware def initialize end # run before processing a request # @param [Midori::Request] request raw request # @return [Midori::Request] request to be further processed def before(request) request end # run after processing a request # @param [Midori::Request] _request raw request # @param [Midori::Response] response raw response # @return [Midori::Response] response to be further processed def after(_request, response) response end # code to be inserted inside CleanRoom # @return [nil] nil def helper end end
Version data entries
7 entries across 7 versions & 1 rubygems