Conn.Pool v0.2.1 API Reference

Modules

High level abstraction that represents connection in the most common sense. Implementation can use any transport to connect to any remote or VM-local resource: Agent, GenServer, different http-APIs, etc

This module represents HTTP-connection. It’s a simple wrapper around HTTPoison

Connection pool helps storing, sharing and using connections. It also make its possible to use the same connection concurrently. For example, if there exists remote API accessible via websocket, pool can provide shared access, making queues of calls. If connection is closed/expires — pool will reinitialize or drop it and awaiting calls will be moved to another connection queue