Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/protocol/http/nsIHttpActivityObserver.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIHttpActivityObserver",
base: Some("nsISupports"),
sync: false,
methods: Err("native type const mozilla::net::HttpActivityArgs unsupported"),
},
Interface {
name: "nsIHttpActivityDistributor",
base: Some("nsIHttpActivityObserver"),
sync: false,
methods: Ok(&[
/* void addObserver (in nsIHttpActivityObserver aObserver); */
Method {
name: "AddObserver",
params: &[Param { name: "aObserver", ty: "*const nsIHttpActivityObserver" }],
ret: "::nserror::nsresult",
},
/* void removeObserver (in nsIHttpActivityObserver aObserver); */
Method {
name: "RemoveObserver",
params: &[Param { name: "aObserver", ty: "*const nsIHttpActivityObserver" }],
ret: "::nserror::nsresult",
},
/* [noscript,notxpcom] boolean Activated (); */
Method {
name: "Activated",
params: &[],
ret: "bool",
},
/* [noscript,notxpcom] boolean ObserveProxyResponseEnabled (); */
Method {
name: "ObserveProxyResponseEnabled",
params: &[],
ret: "bool",
},
/* [noscript,notxpcom] boolean ObserveConnectionEnabled (); */
Method {
name: "ObserveConnectionEnabled",
params: &[],
ret: "bool",
},
/* [must_use] attribute boolean observeProxyResponse; */
Method {
name: "GetObserveProxyResponse",
params: &[Param { name: "aObserveProxyResponse", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetObserveProxyResponse",
params: &[Param { name: "aObserveProxyResponse", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* [must_use] attribute boolean observeConnection; */
Method {
name: "GetObserveConnection",
params: &[Param { name: "aObserveConnection", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetObserveConnection",
params: &[Param { name: "aObserveConnection", ty: "bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}