Output() Example

This section describes an example NSAPI filter named example-replace, which examines outgoing data and substitutes one string for another.
This example shows how to create a filter that intercepts and modifies outgoing
data.

Installing the Output() Example

To load the filter, add the following directive in the Init section
of the magnus.conf file:

Init fn="load-modules"
shlib=yourlibrary
NativeThread="no"

To execute the filter during the request-response process for an object,
add the following code to that object in the obj.conf file: