Namespace

Rest – 1.0

REST client library

Version0.9.0
AuthorsGünther Wagner
LicenseLGPL-2.1-or-later
Website
Sourcehttps://gitlab.gnome.org/GNOME/librest/

Build

C headersrest/oauth-proxy-call.h, rest/oauth-proxy.h, rest/rest-enum-types.h, rest/rest-oauth2-proxy-call.h, rest/rest-oauth2-proxy.h, rest/rest-param.h, rest/rest-params.h, rest/rest-pkce-code-challenge.h, rest/rest-proxy-auth.h, rest/rest-proxy-call.h, rest/rest-proxy.h, rest/rest-utils.h, rest/rest-xml-node.h, rest/rest-xml-parser.h, rest/rest.h
pkg-config files

Dependencies

GObject—2.0 The base type system library
Browse documentation
Gio—2.0 GObject interfaces and objects
Browse documentation
Soup—2.4 HTTP library
Browse documentation

Additional documentation

Classes

OAuth2Proxy
OAuth2ProxyCall
OAuthProxy
OAuthProxyCall

OAuthProxyCall has no publicly available members.

Proxy

RestProxy has no publicly available members.

ProxyAuth

RestProxyAuth has no publicly available members.

ProxyCall

RestProxyCall has no publicly available members.

XmlParser

A Xml Parser for Rest Responses.

Structs

Param
Params
ParamsIter
PkceCodeChallenge

In order to play a Pkce Code Verification during a OAuth2 authorization you need this structure which handles the algorithmic part.

XmlNode

The RestXmlNode contains a parsed XmlNode for easy consumption.

Enumerations

MemoryUse
OAuthSignatureMethod

The signature method to use when signing method calls. PLAINTEXT is only recommended for testing, in general HMAC_SHA1 is well supported and more secure.

Error Domains

ProxyCallError

Error domain used when returning errors from RestProxyCall.

ProxyError

Error domain used when returning errors from a RestProxy.

Functions

oauth2_error_quark
random_string

Creates a random string from a given alphabeth with length length.