Method
IdeLspClientsend_notification_async
Declaration
void
ide_lsp_client_send_notification_async (
IdeLspClient* self,
const gchar* method,
GVariant* params,
GCancellable* cancellable,
GAsyncReadyCallback notificationback,
gpointer user_data
)
Description
Asynchronously sends a notification to the Language Server.
If params is floating, it’s reference is consumed.
Parameters
method-
Type:
const gchar*The method to notification.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. params-
Type:
GVariantAn
GVariantorNULL.The argument can be NULL.The data is owned by the caller of the method. cancellable-
Type:
GCancellableA cancellable or
NULL.The argument can be NULL.The data is owned by the caller of the method. notificationback-
Type:
GAsyncReadyCallbackThe notificationback to receive the result, or
NULL.The argument can be NULL. user_data-
Type:
gpointerUser data for
notificationback.The argument can be NULL.The data is owned by the caller of the method.