upload_report


Description:

[ Version ( since = "1.9.20" ) ]
public string upload_report (string url, string payload, string? signature, ClientUploadFlags flags, Cancellable? cancellable = null) throws Error

Uploads a report to a remote server.

The [method@Client.set_user_agent] function should be called before this method is used.

Parameters:

this

a Client

url

the remote URL

payload

payload string

signature

signature string

flags

download flags, e.g. fwupd_client_download_flag_none

cancellable

optional Cancellable

Returns:

a URI (perhaps an empty string), or null for error