AIAgentFeatureClientConnectionConfig

class AIAgentFeatureClientConnectionConfig(host: String, port: Int? = null, protocol: URLProtocol = URLProtocol.HTTPS) : ClientConnectionConfig(source)

A configuration class for setting up a client connection to an AI agent's feature service.

Inherits from ClientConnectionConfig and introduces additional logic to integrate specific serializers required for handling feature-related message types.

Parameters

host

The hostname or IP address of the server to connect to.

port

The port number used for establishing the connection, or null to use the default port for the protocol.

protocol

The protocol used for the connection (e.g., HTTP, HTTPS), defaulting to HTTPS.

This class automatically appends a predefined serializers module, agentFeatureMessageSerializersModule, to the JSON configuration during initialization. This enables proper serialization and deserialization of feature-related message payloads.

Constructors

Link copied to clipboard
constructor(host: String, port: Int? = null, protocol: URLProtocol = URLProtocol.HTTPS)

Creates a new instance of the configuration with a specified host, optional port, and protocol. The default protocol is HTTPS.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val port: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String

Functions

Link copied to clipboard