Absinthe.GraphqlWS.Socket.handle_message

You're seeing just the callback handle_message, go back to Absinthe.GraphqlWS.Socket module for more information.
Link to this callback

handle_message(params, t)

View Source (optional)

Specs

handle_message(params :: map(), t()) :: response()

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