Create a buffer for data received from the server - Zappy AI
Closed this issue · 0 comments
Marius-P1 commented
Is your feature request related to a problem? Please describe.
We need to create a buffer for data retrieved from the server, so that we can process incomplete or fragmented data.
Describe the solution you'd like
We need a buffer that will concatenate incomplete or fragmented data with data receiving after.
Describe alternatives you've considered
We need to add an attribute in the AI class that will be a buffer when receiving incomplete or fragmented data, we will check if a data is not normal thanks to the \n
character.