|
KEEL 1.0.0
Minimal C11 HTTP client/server library built on epoll/kqueue/io_uring/poll
|
#include <parser.h>
Data Fields | |
| KlParseResult(* | parse )(KlResponseParser *self, KlClientResponse *resp, const char *buf, size_t len, size_t *consumed) |
| void(* | reset )(KlResponseParser *self) |
| void(* | destroy )(KlResponseParser *self) |
| KlParseResult(* KlResponseParser::parse) (KlResponseParser *self, KlClientResponse *resp, const char *buf, size_t len, size_t *consumed) |
Parse response bytes
| void(* KlResponseParser::reset) (KlResponseParser *self) |
Reset for next response
| void(* KlResponseParser::destroy) (KlResponseParser *self) |
Free parser resources