summaryrefslogtreecommitdiff
path: root/node_modules/node-forge/flash
diff options
context:
space:
mode:
authorakiyamn2023-09-24 23:22:21 +1000
committerakiyamn2023-09-24 23:22:21 +1000
commit4e87195739f2a5d9a05451b48773c8afdc680765 (patch)
tree9cba501844a4a11dcbdffc4050ed8189561c55ed /node_modules/node-forge/flash
downloadprice-tracker-worker-4e87195739f2a5d9a05451b48773c8afdc680765.tar.gz
price-tracker-worker-4e87195739f2a5d9a05451b48773c8afdc680765.zip
Initial commit (by create-cloudflare CLI)
Diffstat (limited to 'node_modules/node-forge/flash')
-rw-r--r--node_modules/node-forge/flash/README.md48
-rw-r--r--node_modules/node-forge/flash/package.json28
-rw-r--r--node_modules/node-forge/flash/swf/SocketPool.swfbin0 -> 21162 bytes
3 files changed, 76 insertions, 0 deletions
diff --git a/node_modules/node-forge/flash/README.md b/node_modules/node-forge/flash/README.md
new file mode 100644
index 0000000..1576ebf
--- /dev/null
+++ b/node_modules/node-forge/flash/README.md
@@ -0,0 +1,48 @@
+Forge Flash Support
+===================
+
+SocketPool.swf
+--------------
+
+Some special networking features can optionally use a Flash component.
+Building the output SWF file requires the [Flex SDK][]. A pre-built component
+is included: `swf/SocketPool.swf`.
+
+Building the output SWF requires the `mxmlc` tool from the [Flex SDK][]. If
+that tools is already installed then look in the `package.json` file for the
+commands to rebuild it. If you need the SDK installed, there is a npm module that installs it:
+
+ npm install
+
+To build a regular component:
+
+ npm run build
+
+Additional debug support can be built in with the following:
+
+ npm run build-debug
+
+Policy Server
+-------------
+
+Flash support requires the use of a Policy Server.
+
+### Apache Flash Socket Policy Module
+
+[mod_fsp](./mod_fsp) provides an [Apache][] module that can serve up a Flash
+Socket Policy. See `mod_fsp/README` for more details. This module makes it easy
+to modify an [Apache][] server to allow cross domain requests to be made to it.
+
+### Simple Python Policy Server
+
+`policyserver.py` provides a very simple test policy server.
+
+### Simple Node.js Policy Server
+
+`policyserver.js` provides a very simple test policy server. If a server is
+needed for production environments, please use another option such as perhaps
+[nodejs_socket_policy_server][].
+
+[Apache]: http://httpd.apache.org/
+[Flex SDK]: https://flex.apache.org/
+[nodejs_socket_policy_server]: https://github.com/bichinger/nodejs_socket_policy_server
diff --git a/node_modules/node-forge/flash/package.json b/node_modules/node-forge/flash/package.json
new file mode 100644
index 0000000..92689fa
--- /dev/null
+++ b/node_modules/node-forge/flash/package.json
@@ -0,0 +1,28 @@
+{
+ "name": "node-forge-flash",
+ "version": "0.0.0",
+ "private": true,
+ "description": "Flash build support for Forge.",
+ "homepage": "https://github.com/digitalbazaar/forge",
+ "author": {
+ "name": "Digital Bazaar, Inc.",
+ "email": "support@digitalbazaar.com",
+ "url": "http://digitalbazaar.com/"
+ },
+ "devDependencies": {
+ "flex-sdk": ""
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/digitalbazaar/forge"
+ },
+ "bugs": {
+ "url": "https://github.com/digitalbazaar/forge/issues",
+ "email": "support@digitalbazaar.com"
+ },
+ "license": "(BSD-3-Clause OR GPL-2.0)",
+ "scripts": {
+ "build": "mxmlc -debug=false -define=CONFIG::debugging,false -define=CONFIG::release,true -compiler.source-path=. -static-link-runtime-shared-libraries -output=swf/SocketPool.swf SocketPool.as",
+ "build-debug": "mxmlc -debug=true -define=CONFIG::debugging,true -define=CONFIG::release,false -compiler.source-path=. -static-link-runtime-shared-libraries -output=swf/SocketPool.swf SocketPool.as"
+ }
+}
diff --git a/node_modules/node-forge/flash/swf/SocketPool.swf b/node_modules/node-forge/flash/swf/SocketPool.swf
new file mode 100644
index 0000000..838e53b
--- /dev/null
+++ b/node_modules/node-forge/flash/swf/SocketPool.swf
Binary files differ