I am trying to access Speckle.xyz and more specifically GraphQL using a Java client.
What I want to do is to constantly have an active subscriber of i.e. commitCreated subscription. I tried using the CURL that the playground provides, but it is executed only once, it provides a “null” value and then stops. The same happens using a POST request which has as a body the subscription. Also, I’ve researched the possible GraphQL libraries to access such information but most of them lack in documentation or are oriented for android development, so the structure is different than expected. Another fact that I noticed is that even in the playground, the subscription stops in approximately a minute.
Could you please help me find a solution on that?
Thank you in advance.