http_parser_parse_url function
Parse a URL; return nonzero on failure
Implementation
@ffi.Native<
ffi.Int Function(
ffi.Pointer<ffi.Char>,
ffi.Size,
ffi.Int,
ffi.Pointer<http_parser_url>,
)
>()
external int http_parser_parse_url(
ffi.Pointer<ffi.Char> buf,
int buflen,
int is_connect,
ffi.Pointer<http_parser_url> u,
);