Brotorift v0.4.4 Brotorift.ConnectionBehaviour behaviour View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback handle_data(pid, data) View Source
handle_data(pid :: pid(), data :: iodata()) :: any()
Link to this callback start_link({}) View Source
start_link({socket :: any(), transport :: module(), handler :: module()}) ::
  {:ok, pid()}
Link to this callback stop(pid) View Source
stop(pid :: pid()) :: any()