grizzly v0.8.0 Grizzly.Conn View Source
Link to this section Summary
Functions
Override the mode set in the config of the Conn.Server referenced by Conn conn
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Grizzly.Conn{
conn: pid(),
ip_address: :inet.ip_address(),
mode: Grizzly.Conn.Config.mode()
}
t() :: %Grizzly.Conn{ conn: pid(), ip_address: :inet.ip_address(), mode: Grizzly.Conn.Config.mode() }
Link to this section Functions
Link to this function
close(conn)
View Source
close(conn)
View Source
close(t()) :: :ok
close(t()) :: :ok
Link to this function
connected?(conn) View Source
Link to this function
open(conn_config)
View Source
open(conn_config)
View Source
open(Grizzly.Conn.Config.t()) :: t()
open(Grizzly.Conn.Config.t()) :: t()
Link to this function
override_mode(conn, mode)
View Source
override_mode(conn, mode)
View Source
override_mode(t(), Grizzly.Conn.Config.mode()) :: t()
override_mode(t(), Grizzly.Conn.Config.mode()) :: t()
Override the mode set in the config of the Conn.Server referenced by Conn conn
Link to this function
send_command(conn, command, opts \\ [])
View Source
send_command(conn, command, opts \\ [])
View Source
send_command(t(), Grizzly.Command.t(), Keyword.t()) ::
:ok | {:ok, any()} | {:error, any()}
send_command(t(), Grizzly.Command.t(), Keyword.t()) :: :ok | {:ok, any()} | {:error, any()}