Gemini.ClientConnection (Gemini v0.2.0)
Represents a single connection. Spawned by :ranch
.
Link to this section Summary
Link to this section Types
Link to this type
limited()
Specs
limited() :: {:inet.ip_address(), {:limited, pos_integer()}}
Link to this type
rate_limit_status()
Specs
Link to this type
unlimited()
Specs
unlimited() :: {:inet.ip_address() | nil, :unlimited}
Link to this section Functions
Link to this function
init(ref, transport, options)
Specs
Link to this function
loop(socket, transport, buffer, arg, router)
Specs
loop(any(), any(), binary(), rate_limit_status(), atom()) :: :ok