• 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
..
components Loading commit data...
directive Loading commit data...
filter Loading commit data...
services Loading commit data...
store Loading commit data...
templates Loading commit data...
test Loading commit data...
util Loading commit data...
vendor Loading commit data...
annotation-metadata.js Loading commit data...
build-thread.js Loading commit data...
cross-origin-rpc.js Loading commit data...
events.js Loading commit data...
ga.js Loading commit data...
get-api-url.js Loading commit data...
host-config.js Loading commit data...
index.js Loading commit data...
live-reload-client.js Loading commit data...
markdown-commands.js Loading commit data...
media-embedder.js Loading commit data...
raven.js Loading commit data...
render-markdown.js Loading commit data...
search-client.js Loading commit data...
service-config.js Loading commit data...
tabs.js Loading commit data...
ui-constants.js Loading commit data...
virtual-thread-list.js Loading commit data...
websocket.js Loading commit data...