Top |
MatrixHTTPAPIMatrixHTTPAPI — This is a class for low level communication with a Matrix.org server via HTTP. |
#define | MATRIX_TYPE_HTTP_API |
MatrixHTTPAPI * | matrix_http_api_new () |
const gchar * | matrix_http_api_get_base_url () |
void | matrix_http_api_set_base_url () |
gboolean | matrix_http_api_get_validate_certificate () |
void | matrix_http_api_set_validate_certificate () |
#define MATRIX_TYPE_HTTP_API (matrix_http_api_get_type ())
The type for MatrixHTTPAPI.
MatrixHTTPAPI * matrix_http_api_new (const gchar *base_url
,const gchar *token
);
const gchar *
matrix_http_api_get_base_url (MatrixHTTPAPI *self
);
Get and return the current value of the "base-url" property.
void matrix_http_api_set_base_url (MatrixHTTPAPI *self
,const gchar *value
);
Set the value of the "base-url" property to value
.
gboolean
matrix_http_api_get_validate_certificate
(MatrixHTTPAPI *self
);
Get and return the current value of the "validate-certificate" property.
void matrix_http_api_set_validate_certificate (MatrixHTTPAPI *self
,gboolean value
);
Set the value of the "validate-certificate" property to value
.
self |
the MatrixHTTPAPI instance to modify |
|
value |
the new value of the "validate-certificate" property |
struct MatrixHTTPAPI { GObject parent_instance; MatrixHTTPAPIPrivate * priv; };
This is a class for low level communication with a Matrix.org server via HTTP.
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.