Evd.JsonrpcHttpClient

g Evd.ConnectionPool Evd.ConnectionPool Evd.JsonrpcHttpClient Evd.JsonrpcHttpClient Evd.ConnectionPool->Evd.JsonrpcHttpClient Evd.IoStreamGroup Evd.IoStreamGroup Evd.IoStreamGroup->Evd.ConnectionPool GObject.Object GObject.Object GObject.Object->Evd.IoStreamGroup

Subclasses:

None

Methods

Inherited:

Evd.ConnectionPool (9), Evd.IoStreamGroup (3), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (url)

call_method (method, params, cancellable, callback, *user_data)

call_method_finish (result)

get_http_request ()

Virtual Methods

Inherited:

Evd.ConnectionPool (1), Evd.IoStreamGroup (2), GObject.Object (7)

Properties

Inherited:

Evd.ConnectionPool (2), Evd.IoStreamGroup (2)

Name

Type

Flags

Short Description

http-request

Evd.HttpRequest

r

The object’s internal HTTP request object

url

str

r/w/co

The target server URL

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Evd.ConnectionPool

r

Class Details

class Evd.JsonrpcHttpClient(**kwargs)
Bases:

Evd.ConnectionPool

Abstract:

No

Structure:

Evd.JsonrpcHttpClientClass

classmethod new(url)
Parameters:

url (str) –

Return type:

Evd.JsonrpcHttpClient

call_method(method, params, cancellable, callback, *user_data)
Parameters:
call_method_finish(result)
Parameters:

result (Gio.AsyncResult) –

Raises:

GLib.Error

Return type:

(bool, json_result: Json.Node, json_error: Json.Node)

get_http_request()
Return type:

Evd.HttpRequest

Property Details

Evd.JsonrpcHttpClient.props.http_request
Name:

http-request

Type:

Evd.HttpRequest

Default Value:

None

Flags:

READABLE

The object’s internal HTTP request object

Evd.JsonrpcHttpClient.props.url
Name:

url

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The target server URL