add_text


Description:

public async string add_text (string text, Cancellable? cancellable) throws Error

Add an item to the GPasteDaemon

Parameters:

this

a Client instance

text

the text to add

cancellable

a Cancellable to abandon the call with

callback

a TaskReadyCallback to call once the request is satisfied, or null to ignore the result

user_data

the data to pass to callback