Skip to main content

OdinConnectionPool

typedef struct OdinConnectionPool OdinConnectionPool;

Overview

An opaque type representing an ODIN connection pool, which encapsulates the internal management of all connections used by the clients.

It is responsible for creating, retrieving and managing communication channels, handling room join requests and processing associated authorization and connection state changes. The connection pool ensures thread-safe access and coordinated shutdown of active connections. Additionally, it allows joining multiple rooms through the same connection by performing transparent connection sharing if possible.