ProxyCall cheader_filename="rest/rest-proxy-call.h"
.run.loop out=true default=null
.get_params skip=false
- .get_response_headers skip=false
+ .get_response_headers skip=false type_arguments="unowned string,unowned string"
.add_headers skip=false
+ .add_param_full.param owned
.add_params skip=false
.continuous skip=false
.upload skip=false
ProxyCallError cheader_filename="rest/rest-proxy-call.h"
Param cheader_filename="rest/rest-param.h"
Params cheader_filename="rest/rest-params.h"
- .as_string_hash_table skip=false type_arguments="string,string"
+ .add.param owned
+ .as_string_hash_table type_arguments="unowned string,unowned string"
+ .get unowned nullable
ParamsIter cheader_filename="rest/rest-params.h"
XmlNode cheader_filename="rest/rest-xml-node.h"
.ref skip=false
[CCode (cheader_filename = "rest/rest-params.h")]
[Compact]
public class Params {
- public void add (Rest.Param param);
+ public void add (owned Rest.Param param);
public bool are_strings ();
- public GLib.HashTable<string,string> as_string_hash_table ();
+ public GLib.HashTable<weak string,weak string> as_string_hash_table ();
public void free ();
- public Rest.Param @get (string name);
+ public unowned Rest.Param? @get (string name);
public void remove (string name);
}
[CCode (cheader_filename = "rest/rest-params.h")]
public void add_header (string header, string value);
public void add_headers (...);
public void add_param (string name, string value);
- public void add_param_full (Rest.Param param);
+ public void add_param_full (owned Rest.Param param);
public void add_params (...);
public bool cancel ();
public bool continuous ([CCode (delegate_target_pos = 2.1)] Rest.ProxyCallContinuousCallback callback, GLib.Object weak_object) throws GLib.Error;
public unowned Rest.Params get_params ();
public unowned string get_payload ();
public int64 get_payload_length ();
- public GLib.HashTable<weak void*,weak void*> get_response_headers ();
+ public GLib.HashTable<weak string,weak string> get_response_headers ();
public uint get_status_code ();
public unowned string get_status_message ();
public async bool invoke_async (GLib.Cancellable? cancellable) throws GLib.Error;