web_wt_sys/webtransport/web_transport_send_stream_options.rs
1//! [`WebTransportSendStreamOptions`]
2//!
3//! <https://w3c.github.io/webtransport/#uni-stream-options>
4
5#![allow(missing_docs)]
6
7use wasm_bindgen::prelude::*;
8
9use super::*;
10
11crate::dictionary_type! {
12 /// ```webidl
13 /// dictionary WebTransportSendStreamOptions {
14 /// WebTransportSendGroup? sendGroup = null;
15 /// long long sendOrder = 0;
16 /// boolean waitUntilAvailable = false;
17 /// };
18 /// ```
19 ///
20 /// <https://w3c.github.io/webtransport/#dictdef-webtransportsendstreamoptions>
21 pub type WebTransportSendStreamOptions {
22 send_group: WebTransportSendGroup => sendGroup
23 send_order: i64 => sendOrder
24 wait_until_available: bool => waitUntilAvailable
25 }
26}