The buffer was converted in to string by toString.
now i have a string that looks something like this:
GET / HTTP/1.1
Host: localhost:8080
Connection: keep-alive
Cache-Control: max-age=0
....
how can i parse it every time there is a space (” “) or that a new row is started?
thank you!
1 Answer