Function chrome_native_messaging::read_input
[−]
[src]
pub fn read_input<R: Read>(input: R) -> Result<Value>
Reads input from a stream, decoded according to Chrome's own documentation on native messaging. (https://developer.chrome.com/extensions/nativeMessaging)
- A 32bit unsigned integer specifies how long the message is.
- The message is encoded in JSON