Public Attributes | |
| struct event * | ev |
| Event connected with sending a new request. | |
| struct event * | respev |
| Event connected with receiving a response. | |
| unsigned int | op:2 |
| Request type identifier. | |
| const char * | req |
| Request buffer. | |
| int | reqsize |
| Request size. | |
| struct event_base * | base |
| Event base with which event ev/respev is connected with. | |
| char * | response |
| Response buffer. | |
| off_t | offset |
| How much of the request has been sent so far. | |
| off_t | respoffset |
| How much of a response has been read so far. | |
| off_t | resppos |
| How much of a response has been parsed so far. | |
| off_t | tokcount |
| How many tokens have been parsed so far. | |
| off_t | flagpos |
| Flag can be found at this position in buffer. | |
| off_t | objsizepos |
| Object size can be found at this position in buffer. | |
| off_t | objpos |
| Object can be found at this position in buffer. | |
| off_t | mark |
| Next response's position in the buffer. | |
request header and body, response to be parsed as well as offsets used during parsing response. It also contains all necessary libevent handles.
Definition at line 127 of file client.c.
1.5.5