LavaUI docs

class AgentServer

Swift

final class AgentServer

Not documented.

Sources/LavaUI/AgentServer.swift:124

Constructors

init?(host: AgentHost, port: UInt16, wakeMainLoop: @escaping @Sendable () -> Void)

Not documented.

Sources/LavaUI/AgentServer.swift:137

Properties

var port: UInt16 { get }

Not documented.

Sources/LavaUI/AgentServer.swift:129

Methods

func close()

Not documented.

Sources/LavaUI/AgentServer.swift:160

func poll()

Non-blocking: accept clients and process complete request lines. Call on the UI thread after pumpEvents returns.

Sources/LavaUI/AgentServer.swift:181