Macro chrome_native_messaging::send
[−]
[src]
macro_rules! send { ($($json:tt)+) => { ... }; }
Writes the given JSON data to stdout, thereby 'sending' a message back to Chrome.
Example
#[macro_use] extern crate chrome_native_messaging; fn main() { send!({ "msg": "Hello, world!" }); }