NSQ.Connection.Initializer (elixir_nsq v1.2.0)

Summary

Functions

Immediately after connecting to the NSQ socket, both consumers and producers follow this protocol.

Functions

@spec connect(%{nsqd: NSQ.Connection.host_with_port()}) ::
  {:ok, NSQ.Connection.state()} | {:error, String.t()}
Link to this function

do_handshake(conn_state)

@spec do_handshake(NSQ.Connection.state()) :: {:ok, NSQ.Connection.state()}

Immediately after connecting to the NSQ socket, both consumers and producers follow this protocol.

Link to this function

do_handshake!(conn_state)

Link to this function

ssl_versions(tls_min_version)

@spec ssl_versions(NSQ.Config.t()) :: [atom()]