Connection


Object Hierarchy:

Object hierarchy for Connection

Description:

public class Connection : Object, Serializable

Represents a single server connection configuration.

Stores connection details for Ollama or OpenAI-compatible API servers. Used by Client to establish API connections.

Example

var connection = new Settings.Connection() {
name = "Local Ollama",
url = "http://127.0.0.1:11434/api",
is_default = true
};

var client = new Client(connection);

Since:

1.0


Namespace: OLLMchat.Settings
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Fields:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface Json.Serializable