Kvasir AgentServer v0.0.10 Kvasir.AgentServer.Control.Connection View Source

Link to this section Summary

Link to this section Types

Specs

t() :: {socket(), buffer()}

Link to this section Functions

Link to this function

run(host, port, conn, protocol)

View Source

Specs

run(charlist(), pos_integer(), t(), module()) :: no_return()
Link to this function

start_link(host, port, opts \\ [])

View Source

Specs

write(t() | socket(), iodata()) :: :ok | {:error, atom()}

Specs

write_line(t() | socket(), iodata()) :: :ok | {:error, atom()}