Modifiers
Classes
ModifierCache
ModifierCache ( submod = None )
Modifier
Cache operations.
SUB_DICT_BASED
Simple dict based get command.
SUB_GET
Simple cache get for values not bigger than 64k.
SUB_MAGIC
Magic interface for plugins remote access.
SUB_SET
Simple cache set for values not bigger than 64k.
ModifierCgi
Modifier
Standard Running CGI scripts on uWSGI request followed by the HTTP request body.
ModifierClusterNode
ModifierClusterNode ( submod = None )
Modifier
Add/remove/enable/disable node from a cluster.
Add action requires a dict of at least 3 keys:
* hostname
* address
* workers
ModifierConfigFromNode
ModifierConfigFromNode ( submod = None )
Modifier
Request configuration data from a uwsgi node (even via multicast).
ModifierCorerouterSignal
ModifierCorerouterSignal ( submod = None )
Modifier
Special modifier for signaling corerouters about special conditions.
ModifierEcho
ModifierEcho ( submod = None )
Modifier
ECHO service.
ModifierEval
ModifierEval ( submod = None )
Modifier
Raw Code evaluation. The interpreter is chosen by the modifier2.
..note:: It does not return a valid uwsgi response, but a raw string (that may be an HTTP response).
ModifierExample
ModifierExample ( submod = None )
Modifier
Modifier used in dummy example plugin.
ModifierFastfunc
ModifierFastfunc ( submod = None )
Modifier
Call the FastFuncs specified by the modifier2 field.
ModifierGlusterfs
ModifierGlusterfs ( submod = None )
Modifier
Invoke the The GlusterFS plugin.
ModifierGridfs
ModifierGridfs ( submod = None )
Modifier
Invoke the The GridFS plugin.
ModifierJvm
Modifier
Standard JVM request for The JWSGI interface and
The Clojure/Ring JVM request handler followed by the HTTP request body.
SUB_RING
Use Clojure/Ring JVM request handler.
ModifierLegionMsg
ModifierLegionMsg ( submod = None )
Modifier
Legion msg (UDP, the body is encrypted).
ModifierLua
Modifier
Standard LUA/WSAPI request followed by the HTTP request body.
ModifierManage
ModifierManage ( submod = None )
Modifier
Management interface request: setup flag specified by modifier2.
For a list of management flag look at ManagementFlag.
ModifierManagePathInfo
ModifierManagePathInfo ( submod = None )
Modifier
Standard WSGI request followed by the HTTP request body.
The PATH_INFO is automatically modified, removing the SCRIPT_NAME from it.
ModifierMessage
ModifierMessage ( submod = None )
Modifier
Generic message passing (reserved).
ModifierMessageArray
ModifierMessageArray ( submod = None )
Modifier
Array of char passing (reserved).
ModifierMessageMarshal
ModifierMessageMarshal ( submod = None )
Modifier
Marshalled/serialzed object passing (reserved).
ModifierMono
ModifierMono ( submod = None )
Modifier
Standard The Mono ASP.NET plugin request followed by the HTTP request body.
ModifierMulticast
ModifierMulticast ( submod = None )
Modifier
Array of chars; a custom multicast message managed by uwsgi.
ModifierMulticastAnnounce
ModifierMulticastAnnounce ( submod = None )
Modifier
Announce message.
ModifierPersistentClose
ModifierPersistentClose ( submod = None )
Modifier
Close mark for persistent connections.
ModifierPhp
Modifier
Standard Running PHP scripts in uWSGI request followed by the HTTP request body.
ModifierPing
ModifierPing ( submod = None )
Modifier
PING-PONG. Useful for cluster health check.
ModifierPsgi
ModifierPsgi ( submod = None )
Modifier
Standard PSGI request followed by the HTTP request body.
ModifierRack
ModifierRack ( submod = None )
Modifier
Standard RACK request followed by the HTTP request body.
ModifierRados
ModifierRados ( submod = None )
Modifier
Invoke the The RADOS plugin.
ModifierRaw
Modifier
Corresponds to the HTTP string and signals that
this is a raw HTTP response.
ModifierReload
ModifierReload ( submod = None )
Modifier
Graceful reload request.
ModifierReloadBrutal
ModifierReloadBrutal ( submod = None )
ModifierReload
Brutal reload request.
ModifierRemoteLogging
ModifierRemoteLogging ( submod = None )
Modifier
Remote logging (clustering/multicast/unicast).
ModifierResponse
ModifierResponse ( submod = None )
Modifier
Generic response. Request dependent.
Example: a spooler response set 0 for a failed spool or 1 for a successful one.
ModifierRpc
Modifier
RPC. The packet is an uwsgi array where
the first item - the name of the function
the following - the args
SUB_DEFAULT
Return uwsgi header + rpc response.
SUB_DICT
Used in uwsgi response to signal the response is a uwsgi dictionary
followed by the body (the dictionary must contains a CONTENT_LENGTH key).
SUB_JSONRPC
Set jsonrpc wrapper (requires libjansson).
SUB_RAW
Return raw rpc response, uwsgi header included, if available.
SUB_USE_PATH_INFO
Split PATH_INFO to get func name and args and return as HTTP response
with content_type as application/binary or Accept request header (if different from *).
SUB_XMLRPC
Set xmlrpc wrapper (requires libxml2).
ModifierSignal
ModifierSignal ( submod = None )
Modifier
uwsgi_signal framework (payload is optional).
Note
modifier2 is the signal num.
ModifierSnmp
ModifierSnmp ( submod = None )
Modifier
Identify a SNMP request/response (mainly via UDP).
ModifierSpooler
ModifierSpooler ( submod = None )
Modifier
The uWSGI Spooler request, the block vars is converted
to a dictionary/hash/table and passed to the spooler callable.
ModifierSubscription
ModifierSubscription ( submod = None )
Modifier
Subscription packet. See subscriptions.
ModifierSymcall
ModifierSymcall ( submod = None )
Modifier
Direct call to C-like symbols.
ModifierV8
ModifierWsgi
ModifierWsgi ( submod = None )
Modifier
Standard WSGI request followed by the HTTP request body.
ModifierXslt
ModifierXslt ( submod = None )
Modifier
Invoke the XSLT plugin.