| 432 | } |
| 433 | |
| 434 | static int on_body(http_parser* p, const char* data, size_t length) |
| 435 | { |
| 436 | ResponseDecoder* decoder = (ResponseDecoder*) p->data; |
| 437 | CHECK_NOTNULL(decoder->response); |
| 438 | decoder->response->body.append(data, length); |
| 439 | return http_parsing::SUCCESS; |
| 440 | } |
| 441 | |
| 442 | static int on_message_complete(http_parser* p) |
| 443 | { |
nothing calls this directly
no outgoing calls
no test coverage detected