Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/protocol/http/nsIObliviousHttp.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIObliviousHttpClientResponse",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* Array<octet> decapsulate (in Array<octet> encResponse); */
Method {
name: "Decapsulate",
params: &[Param { name: "encResponse", ty: "*const thin_vec::ThinVec<u8>" }, Param { name: "_retval", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIObliviousHttpClientRequest",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute Array<octet> encRequest; */
Method {
name: "GetEncRequest",
params: &[Param { name: "aEncRequest", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute nsIObliviousHttpClientResponse response; */
Method {
name: "GetResponse",
params: &[Param { name: "aResponse", ty: "*mut *const nsIObliviousHttpClientResponse" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIObliviousHttpServerResponse",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute Array<octet> request; */
Method {
name: "GetRequest",
params: &[Param { name: "aRequest", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* Array<octet> encapsulate (in Array<octet> response); */
Method {
name: "Encapsulate",
params: &[Param { name: "response", ty: "*const thin_vec::ThinVec<u8>" }, Param { name: "_retval", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIObliviousHttpServer",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute Array<octet> encodedConfig; */
Method {
name: "GetEncodedConfig",
params: &[Param { name: "aEncodedConfig", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* nsIObliviousHttpServerResponse decapsulate (in Array<octet> encRequest); */
Method {
name: "Decapsulate",
params: &[Param { name: "encRequest", ty: "*const thin_vec::ThinVec<u8>" }, Param { name: "_retval", ty: "*mut *const nsIObliviousHttpServerResponse" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIObliviousHttp",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* nsIObliviousHttpClientRequest encapsulateRequest (in Array<octet> encodedConfig, in Array<octet> request); */
Method {
name: "EncapsulateRequest",
params: &[Param { name: "encodedConfig", ty: "*const thin_vec::ThinVec<u8>" }, Param { name: "request", ty: "*const thin_vec::ThinVec<u8>" }, Param { name: "_retval", ty: "*mut *const nsIObliviousHttpClientRequest" }],
ret: "::nserror::nsresult",
},
/* nsIObliviousHttpServer server (); */
Method {
name: "Server",
params: &[Param { name: "_retval", ty: "*mut *const nsIObliviousHttpServer" }],
ret: "::nserror::nsresult",
},
/* Array<Array<octet>> decodeConfigList (in Array<octet> encodedConfigList); */
Method {
name: "DecodeConfigList",
params: &[Param { name: "encodedConfigList", ty: "*const thin_vec::ThinVec<u8>" }, Param { name: "_retval", ty: "*mut thin_vec::ThinVec<thin_vec::ThinVec<u8>>" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIObliviousHttpService",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* nsIChannel newChannel (in nsIURI relayURI, in nsIURI targetURI, in Array<octet> encodedConfig); */
Method {
name: "NewChannel",
params: &[Param { name: "relayURI", ty: "*const nsIURI" }, Param { name: "targetURI", ty: "*const nsIURI" }, Param { name: "encodedConfig", ty: "*const thin_vec::ThinVec<u8>" }, Param { name: "_retval", ty: "*mut*const nsIChannel" }],
ret: "::nserror::nsresult",
},
/* void getTRRSettings (out nsIURI relayURI, out Array<octet> encodedConfig); */
Method {
name: "GetTRRSettings",
params: &[Param { name: "relayURI", ty: "*mut*const nsIURI" }, Param { name: "encodedConfig", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* void clearTRRConfig (); */
Method {
name: "ClearTRRConfig",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
]; D}