Description
Hello,
Sorry if this is not the right forum to ask a question...
I am asked to provide a graphQL interface to an existing C/C++ code that I have...
As far as I understand I will be receiving a graphQL querry (which is in text form?) and will need to respond to it...
Could someone please help me understand:
-
how is the graphQL query sent from client to me (http? socket? shared memory? named pipe?)
-
The query is in text form as far as I can understand. But in which format do I need to respond? is Binary Json ok? or should it be text Json? I am assuming that the resonse will be using the same communication channel as the querry.
-
The Querry is in graphQL "language". "libgraphqlparser" seems to allow to transform it into a Json text. How is this helpfull? I mean ultimately I need to interpret the graphQL querry, does it help to transform it into Json? or could I interpret the graphQL language directly?
Thanks for helping me getting started.
Cyrille