ExUtcp.Transports.WebSocket (ex_utcp v0.3.2)

Copy Markdown View Source

WebSocket transport implementation for UTCP.

This transport handles WebSocket-based tool providers, supporting real-time bidirectional communication for tool discovery and execution.

Summary

Functions

Returns a specification to start this module under a supervisor.

Creates a new WebSocket transport.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

new(opts \\ [])

@spec new(keyword()) :: %ExUtcp.Transports.WebSocket{
  connection_pool: map(),
  connection_timeout: non_neg_integer(),
  logger: function(),
  max_retries: non_neg_integer(),
  retry_config: map(),
  retry_delay: non_neg_integer()
}

Creates a new WebSocket transport.

start_link(opts \\ [])