Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/base/nsIStreamTransportService.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIStreamTransportService",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* nsITransport createInputTransport (in nsIInputStream aStream, in boolean aCloseWhenDone); */
Method {
name: "CreateInputTransport",
params: &[Param { name: "aStream", ty: "*const nsIInputStream" }, Param { name: "aCloseWhenDone", ty: "bool" }, Param { name: "_retval", ty: "*mut*const nsITransport" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}