Request


Object Hierarchy:

Object hierarchy for Request

Description:

public class Request : Object, Serializable

Outbound RPC envelope (one root object per call).

Set method to the wire handler name (RPC-Object.method for daemons; hyphen nested namespaces like RPC-Live- Remote.rpc_unref; or a REST path for HTTP). Attach positional GLib.Values on args via args (omit when empty). For typed HTTP results, set result_type before Client.call.

Example

var req = new OLLMrpc.Request() {
method = "Folder.fetch_files",
args = OLLMrpc.args(
"siisSb", "/home/user/project", 0, 50, "",
new string[] {}, false
),
result_type = typeof(OLLMfilesd.FileArray)
};
var resp = yield rpc.call(req);

See also:

Client, Response


Namespace: OLLMrpc
Package: ollmchat

Content:

Properties:

Static methods:

Creation methods:

Methods:

Fields:

Inherited Members:

All known members inherited from class GLib.Object