Skip to main content

web_wt_sys/webtransport/
web_transport_send_options.rs

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