SubscriptionsTransportWS.Socket.assign_context

You're seeing just the function assign_context, go back to SubscriptionsTransportWS.Socket module for more information.
Link to this function

assign_context(socket, context)

View Source

Adds key-value pairs into Absinthe context.

Examples

iex> Socket.assign_context(socket, current_user: user)
%Socket{}
Link to this function

assign_context(socket, key, value)

View Source

Same as assign_context/2 except one key-value pair is assigned.