/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ext/node/ops/llhttp/mod.rs
23 строки
573 B
Bartek Iwańczuk
feat(ext/node): add llhttp-based HTTPParser with native cppgc binding (#33202)
09 апр 2026, 10:34
Не верифицирован
09 апр 2026, 10:34
34ed78a
Код
Авторство
О чём код?
// Copyright 2018-2026 the Deno authors. MIT license. //! Rust FFI bindings for llhttp — the HTTP/1.1 parser used by Node.js. //! //! llhttp is a push-based, callback-driven parser. Data is fed via //! `llhttp_execute()` and the parser invokes callbacks synchronously //! during parsing for headers, body chunks, and message boundaries. #[allow( non_camel_case_types, non_upper_case_globals, dead_code, clippy::upper_case_acronyms, reason = "FFI bindings match C naming conventions" )] pub mod sys; pub use sys::*; pub mod binding; #[cfg(test)] mod tests;