diff --git a/src/internal_module/httpx/js_module.rs b/src/internal_module/httpx/js_module.rs index a7f7fd2..97ab5a8 100644 --- a/src/internal_module/httpx/js_module.rs +++ b/src/internal_module/httpx/js_module.rs @@ -158,6 +158,7 @@ impl JsClassDef for Buffer { const FIELDS: &'static [crate::JsClassField] = &[ ("length", Self::js_length, None), + ("byteLength", Self::js_length, None), ("buffer", Self::js_buffer, None), ];