Absinthe.GraphqlWS.Socket.handle_message
You're seeing just the callback
handle_message
, go back to Absinthe.GraphqlWS.Socket module for more information.
Specs
Handles messages that are sent to this process through send/2
, which have not been caught
by the default implementation.
Example
def handle_message({:thing, thing}, socket) do
{:ok, assign(socket, :thing, thing)}
end
def handle_message(_msg, socket) do
{:ok, socket}
end