Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/base/nsISpeculativeConnect.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsISpeculativeConnect",
base: Some("nsISupports"),
sync: false,
methods: Err("special type jsval unsupported"),
},
Interface {
name: "nsISpeculativeConnectionOverrider",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* [infallible] readonly attribute unsigned long parallelSpeculativeConnectLimit; */
Method {
name: "GetParallelSpeculativeConnectLimit",
params: &[Param { name: "aParallelSpeculativeConnectLimit", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean ignoreIdle; */
Method {
name: "GetIgnoreIdle",
params: &[Param { name: "aIgnoreIdle", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean isFromPredictor; */
Method {
name: "GetIsFromPredictor",
params: &[Param { name: "aIsFromPredictor", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean allow1918; */
Method {
name: "GetAllow1918",
params: &[Param { name: "aAllow1918", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}