StaticRouter

Static router that selects backends directly from configuration.

Constructors

Link copied to clipboard
constructor(config: ProxyConfig)

Functions

Link copied to clipboard
open override fun findBackend(id: String): BackendConfig?

Finds a backend by its identifier, or null if not found.

Link copied to clipboard
open override fun selectInitialBackend(): BackendConfig

Returns the initial backend for a new connection.