SubscriptionsTransportWS.Socket.assign_context
You're seeing just the function
assign_context
, go back to SubscriptionsTransportWS.Socket module for more information.
Adds key-value pairs into Absinthe context.
Examples
iex> Socket.assign_context(socket, current_user: user)
%Socket{}
Same as assign_context/2
except one key-value pair is assigned.