Method

FoundryLspClientnotify

Declaration [src]

DexFuture*
foundry_lsp_client_notify (
  FoundryLspClient* self,
  const char* method,
  GVariant* params
)

Description [src]

If params is floating, the reference will be consumed.

Parameters

method

Type: const char*

The method name to call.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
params

Type: GVariant

Parameters for the notification.

The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture that resolves when the notification has been sent.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.