Gjsify LogoGjsify Logo

Opaque structure containing XML-RPC methodCall parameter values. Can be parsed using soup_xmlrpc_params_parse() and freed with soup_xmlrpc_params_free().

record

Hierarchy

  • XMLRPCParams

Index

Constructors

Properties

Methods

Constructors

Properties

name: string

Methods

  • free(): void
  • Parse method parameters returned by soup_xmlrpc_parse_request().

    Deserialization details:

    • If signature is provided, <int> and <i4> can be deserialized to byte, int16, uint16, int32, uint32, int64 or uint64. Otherwise it will be deserialized to int32. If the value is out of range for the target type it will return an error.
    • <struct> will be deserialized to "a{sv}". signature could define another value type (e.g. "a{ss}").
    • <array> will be deserialized to "av". signature could define another element type (e.g. "as") or could be a tuple (e.g. "(ss)").
    • <base64> will be deserialized to "ay".
    • <string> will be deserialized to "s".
    • <dateTime.iso8601> will be deserialized to an unspecified variant type. If signature is provided it must have the generic "v" type, which means there is no guarantee that it's actually a datetime that has been received. soup_xmlrpc_variant_get_datetime() must be used to parse and type check this special variant.
    • signature must not have maybes, otherwise an error is returned.
    • Dictionaries must have string keys, otherwise an error is returned.

    Parameters

    • signature: string

      A valid #GVariant type string, or %NULL

    Returns GLib.Variant

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method