MatrixHTTPAPI

MatrixHTTPAPI — This is a class for low level communication with a Matrix.org server via HTTP.

Functions

Types and Values

Description

Functions

MATRIX_TYPE_HTTP_API

#define MATRIX_TYPE_HTTP_API (matrix_http_api_get_type ())

The type for MatrixHTTPAPI.


matrix_http_api_new ()

MatrixHTTPAPI *
matrix_http_api_new (const gchar *base_url,
                     const gchar *token);

Parameters

base_url

 

 

token

 

 

matrix_http_api_get_base_url ()

const gchar *
matrix_http_api_get_base_url (MatrixHTTPAPI *self);

Get and return the current value of the "base-url" property.

Parameters

self

the MatrixHTTPAPI instance to query

 

Returns

the value of the "base-url" property


matrix_http_api_set_base_url ()

void
matrix_http_api_set_base_url (MatrixHTTPAPI *self,
                              const gchar *value);

Set the value of the "base-url" property to value .

Parameters

self

the MatrixHTTPAPI instance to modify

 

value

the new value of the "base-url" property

 

matrix_http_api_get_validate_certificate ()

gboolean
matrix_http_api_get_validate_certificate
                               (MatrixHTTPAPI *self);

Get and return the current value of the "validate-certificate" property.

Parameters

self

the MatrixHTTPAPI instance to query

 

Returns

the value of the "validate-certificate" property


matrix_http_api_set_validate_certificate ()

void
matrix_http_api_set_validate_certificate
                               (MatrixHTTPAPI *self,
                                gboolean value);

Set the value of the "validate-certificate" property to value .

Parameters

self

the MatrixHTTPAPI instance to modify

 

value

the new value of the "validate-certificate" property

 

Types and Values

struct MatrixHTTPAPI

struct MatrixHTTPAPI {
	GObject parent_instance;
	MatrixHTTPAPIPrivate * priv;
};

This is a class for low level communication with a Matrix.org server via HTTP.


struct MatrixHTTPAPIClass

struct MatrixHTTPAPIClass {
	GObjectClass parent_class;
};

The class structure for MATRIX_TYPE_HTTP_API. All the fields in this structure are private and should never be accessed directly.

Members

GObjectClass parent_class;

the parent class structure