SHARE
TWEET

Untitled

a guest Jun 18th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # in application.ex
  2.         [
  3.           {Absinthe.Client, MyApp.Client}
  4.         ]
  5.  
  6.  
  7.       defmodule MyApp.Client do
  8.         use Absinthe.Client
  9.       end
  10.  
  11.       thing = MyApp.Client.new()
  12.  
  13.       MyApp.Client.run(thing, "")
  14.  
  15.  
  16.       {:ok, myclient} = Absinthe.Client.new(MyApp.Client, %{socket: NamedSocket})
  17.  
  18.       MyClient.run(myclient, "subscription {now }")
  19.  
  20.       Absinthe.Client.run(, )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top