Mwrap HeapPageBody SourceLocation

class MwrapRack

MwrapRack is a standalone Rack application which can be mounted to run within your application process.

Using the Rack::Builder API in, you can map it to the "/MWRAP/" endpoint. As with the rest of the Mwrap API, your Rack server needs to be spawned with the mwrap(1) wrapper to enable the LD_PRELOAD.

require 'mwrap_rack'
map('/MWRAP') { run( }
map('/') { run(your_normal_app) }

A live demo is available at (warning the demo machine is 32-bit, so counters will overflow)

This module is only available in mwrap 2.0.0+

Pages Classes Methods
mail archives: