This is the same as the general-api example, however it uses a hidden iframe to talk to a page on port 8284. The other plugin also does the same, and then those two iframe instances talk to each other through a shared worker.

Once you have both windows up, use one window to create an adapter, and the other one to create a facade.

Console messages will be output to the text box bellow. To see trace information, open the browser console.

Step 1: create adapter
Step 2: create facade
Step 3: call facade
Step 4: write stream
Step 5: close stream