Closed dinobu closed 5 years ago
Not sure this is the right solution for you. You only need a client and read the full response. When do you know the response is complete? Is the connection closed by the server then? That would be easy to do with any client.
This code is meant for multiple server request/response parts and also provides a server for that. From what I've read here, you don't need the server part at all.
That is correct, only client and only full response. The request is sent (writeAsync) and the response is awaited immediately after (readAsync). The messages are up to 1000chars long, no longer and it is not messaging going on. All initiate by user tapping on a button. Server closes connection after that. No need for server
Then you don't need the code provided in this repository. You can use any networking methods the BCL provides you. Send the request, wait for the response, process it when the connection is closed. Simple.
Hi,
I am working an a project that with following requirements
Based on above, is this library helpful in such situation? By looking at the code, I see use of Console.Read/Write which is not something you do in mobile apps.
Much appreciated,