|
|
@ -77,7 +77,7 @@ typedef struct http_parser_settings http_parser_settings;
|
|
|
|
* chunked' headers that indicate the presence of a body.
|
|
|
|
* chunked' headers that indicate the presence of a body.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* http_data_cb does not return data chunks. It will be call arbitrarally
|
|
|
|
* http_data_cb does not return data chunks. It will be call arbitrarally
|
|
|
|
* many times for each string. E.G. you might get 10 callbacks for "on_path"
|
|
|
|
* many times for each string. E.G. you might get 10 callbacks for "on_url"
|
|
|
|
* each providing just a few characters more data.
|
|
|
|
* each providing just a few characters more data.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
typedef int (*http_data_cb) (http_parser*, const char *at, size_t length);
|
|
|
|
typedef int (*http_data_cb) (http_parser*, const char *at, size_t length);
|
|
|
|