-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting the message body without the headers in phr_parse_response() #31
Comments
the return value indicates where the body starts |
It doesn't seem to be indicated in the code comments. |
Same issue. Please tell me how can calculate index of body start? |
The return value of the function is the start position of the body of your supplied pointer |
Thank you so much. You saved my day 😄 |
@ghost, can you please drop the sample code for extracting response code and body from a string using phr_parse_response(). Thanks |
When calling the phr_parse_response(), the msg pointer contains data starting from the status message. How do you get the message body without the headers?
Thanks.
The text was updated successfully, but these errors were encountered: