web_webtransport_sys/gen/
gen_WebTransportSendStream.rs1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportSendStream , typescript_type = "WebTransportSendStream")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `WebTransportSendStream` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportSendStream)"]
11 pub type WebTransportSendStream;
12 # [wasm_bindgen (structural , method , getter , js_class = "WebTransportSendStream" , js_name = sendGroup)]
13 #[doc = "Getter for the `sendGroup` field of this object."]
14 #[doc = ""]
15 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportSendStream/sendGroup)"]
16 pub fn send_group(this: &WebTransportSendStream) -> Option<WebTransportSendGroup>;
17 # [wasm_bindgen (structural , method , setter , js_class = "WebTransportSendStream" , js_name = sendGroup)]
18 #[doc = "Setter for the `sendGroup` field of this object."]
19 #[doc = ""]
20 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportSendStream/sendGroup)"]
21 pub fn set_send_group(this: &WebTransportSendStream, value: Option<&WebTransportSendGroup>);
22 # [wasm_bindgen (structural , method , getter , js_class = "WebTransportSendStream" , js_name = sendOrder)]
23 #[doc = "Getter for the `sendOrder` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportSendStream/sendOrder)"]
26 pub fn send_order(this: &WebTransportSendStream) -> f64;
27 # [wasm_bindgen (structural , method , setter , js_class = "WebTransportSendStream" , js_name = sendOrder)]
28 #[doc = "Setter for the `sendOrder` field of this object."]
29 #[doc = ""]
30 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportSendStream/sendOrder)"]
31 pub fn set_send_order(this: &WebTransportSendStream, value: f64);
32 # [wasm_bindgen (method , structural , js_class = "WebTransportSendStream" , js_name = getStats)]
33 #[doc = "The `getStats()` method."]
34 #[doc = ""]
35 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportSendStream/getStats)"]
36 pub fn get_stats(this: &WebTransportSendStream) -> ::js_sys::Promise;
37}