node-sys 0.4.2

Raw bindings to the Node.js API for projects using wasm-bindgen.
Documentation
1
2
3
4
5
6
7
8
9
use js_sys::Object;
use wasm_bindgen::prelude::*;

#[wasm_bindgen(module = "tls")]
extern {
    #[wasm_bindgen(js_name = "TLSSocket", extends = Object)]
    #[derive(Clone, Debug)]
    pub type TlsSocket;
}