set_use_gvariant


Description:

public void set_use_gvariant (bool use_gvariant)

Sets the [property@Client:use-gvariant] property.

This function sets if [[email protected]] should be used to communicate with the peer. Doing so can allow for more efficient communication by avoiding expensive parsing overhead and memory allocations. However, it requires that the peer also supports [ [email protected]] encoding.

Parameters:

this

A Client

use_gvariant

If [[email protected]] should be used




2022 vala-language.org