Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # in application.ex
- [
- {Absinthe.Client, MyApp.Client}
- ]
- defmodule MyApp.Client do
- use Absinthe.Client
- end
- thing = MyApp.Client.new()
- MyApp.Client.run(thing, "")
- {:ok, myclient} = Absinthe.Client.new(MyApp.Client, %{socket: NamedSocket})
- MyClient.run(myclient, "subscription {now }")
- Absinthe.Client.run(, )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement