• Robert Knight's avatar
    Add client for making JSON-RPC calls over postMessage · b6f3ba5b
    Robert Knight authored
    We need a way for the client to request configuration from an embedding
    frame over `postMessage`.
    
    JSON-RPC is a well-known, simple and convenient format for RPC messages.
    
    There are several npm packages which claim to offer this functionality
    but at the time of writing, none appeared to be sufficiently well
    tested/supported/documented.
    
    There is an existing partial postMessage JSON-RPC server implementation in
    src/sidebar/cross-origin-rpc.js. The non-app specific parts of that will
    be moved into this module in future.
    b6f3ba5b
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
yarn.lock Loading commit data...