README
Mwrap SourceLocation
MwrapRack

Methods

#call

class MwrapRack

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

The embedded mwrap-httpd for Unix sockets and mwrap-rproxy for TCP from the Perl version <80x24.org/mwrap-perl.git/> replaces this in a non-obtrusive way for code which can't handle Ruby-level threads.

The remaining documentation remains for historical purposes:

Using the Rack::Builder API in config.ru, 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(MwrapRack.new) }
map('/') { run(your_normal_app) }

This module is only available in mwrap 2.0.0+

Public Instance Methods

call (env) source

The standard Rack application endpoint for MwrapRack


Pages Classes Methods
mail archives: https://80x24.org/mwrap-public/
	nntps://news.public-inbox.org/inbox.comp.lang.ruby.mwrap 
	imaps://;AUTH=ANONYMOUS@80x24.org/inbox.comp.lang.ruby.mwrap.0 
public: mwrap-public@80x24.org
source code: git clone https://80x24.org/mwrap.git