Method

FoundryAcpConnectioninitialize

unstable since: 1.2

Declaration [src]

DexFuture*
foundry_acp_connection_initialize (
  FoundryAcpConnection* self,
  const char* client_name,
  const char* client_title,
  const char* client_version,
  FoundryAcpClientCapabilityFlags client_capabilities
)

Description [src]

Negotiates ACP protocol capabilities with the agent.

Available since: 1.2

Parameters

client_name

Type: const char*

Stable client identifier.

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

Type: const char*

User-visible client title.

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

Type: const char*

Client version.

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

Type: FoundryAcpClientCapabilityFlags

Enabled client capability flags.

Return value

Type: DexFuture

A DexFuture.

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