http_parser_execute function
- @Native<Size Function(Pointer<
http_parser> , Pointer<http_parser_settings> , Pointer<Char> , Size)>(ffi.Pointer<http_parser>, ffi.Pointer<http_parser_settings>, ffi.Pointer<ffi.Char>, ffi.Size)>()
- Pointer<
http_parser> parser, - Pointer<
http_parser_settings> settings, - Pointer<
Char> data, - int len,
Executes the parser. Returns number of parsed bytes. Sets
parser->http_errno on error.
Implementation
@ffi.Native<
ffi.Size Function(
ffi.Pointer<http_parser>,
ffi.Pointer<http_parser_settings>,
ffi.Pointer<ffi.Char>,
ffi.Size,
)
>()
external int http_parser_execute(
ffi.Pointer<http_parser> parser,
ffi.Pointer<http_parser_settings> settings,
ffi.Pointer<ffi.Char> data,
int len,
);