I think that the :reply action should be renamed since it only makes sense in handle_frame, but not in handle_cast and handle_info, where it is actually a bit confusing.
Additionally, :reply clashes with GenServer actions which I think is likely to be added in the future (Relates to https://github.com/Azolo/websockex/issues/98).
I think that the
:reply
action should be renamed since it only makes sense inhandle_frame
, but not inhandle_cast
andhandle_info
, where it is actually a bit confusing. Additionally,:reply
clashes withGenServer
actions which I think is likely to be added in the future (Relates to https://github.com/Azolo/websockex/issues/98).I'm adding this here now because I'm adding a related callback in https://github.com/Azolo/websockex/pull/112