Evd.JsonrpcHttpServer

g Evd.IoStreamGroup Evd.IoStreamGroup Evd.Service Evd.Service Evd.IoStreamGroup->Evd.Service Evd.JsonrpcHttpServer Evd.JsonrpcHttpServer Evd.WebService Evd.WebService Evd.Service->Evd.WebService Evd.WebService->Evd.JsonrpcHttpServer GObject.Object GObject.Object GObject.Object->Evd.IoStreamGroup

Subclasses:

None

Methods

Inherited:

Evd.WebService (9), Evd.Service (13), Evd.IoStreamGroup (3), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_response_headers ()

respond (invocation_id, result)

respond_error (invocation_id, json_error)

set_method_call_callback (callback, *user_data)

Virtual Methods

Inherited:

Evd.WebService (7), Evd.Service (4), Evd.IoStreamGroup (2), GObject.Object (7)

Properties

Inherited:

Evd.Service (2), Evd.IoStreamGroup (2)

Name

Type

Flags

Short Description

response-headers

Soup.MessageHeaders

r

The object’s internal response headers

Signals

Inherited:

Evd.WebService (2), Evd.Service (2), GObject.Object (1)

Fields

Inherited:

Evd.WebService (2), Evd.Service (2), GObject.Object (1)

Name

Type

Access

Description

parent

Evd.WebService

r

Class Details

class Evd.JsonrpcHttpServer(**kwargs)
Bases:

Evd.WebService

Abstract:

No

Structure:

Evd.JsonrpcHttpServerClass

classmethod new()
Return type:

Evd.JsonrpcHttpServer

get_response_headers()
Return type:

Soup.MessageHeaders

respond(invocation_id, result)
Parameters:
Raises:

GLib.Error

Return type:

bool

respond_error(invocation_id, json_error)
Parameters:
Raises:

GLib.Error

Return type:

bool

set_method_call_callback(callback, *user_data)
Parameters:

Property Details

Evd.JsonrpcHttpServer.props.response_headers
Name:

response-headers

Type:

Soup.MessageHeaders

Default Value:

None

Flags:

READABLE

The object’s internal response headers