aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/webcore/HTTPHeaderMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/bindings/webcore/HTTPHeaderMap.h')
-rw-r--r--src/bun.js/bindings/webcore/HTTPHeaderMap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bun.js/bindings/webcore/HTTPHeaderMap.h b/src/bun.js/bindings/webcore/HTTPHeaderMap.h
index 42fdbf41a..8522efdce 100644
--- a/src/bun.js/bindings/webcore/HTTPHeaderMap.h
+++ b/src/bun.js/bindings/webcore/HTTPHeaderMap.h
@@ -191,6 +191,8 @@ public:
WEBCORE_EXPORT bool contains(HTTPHeaderName) const;
WEBCORE_EXPORT bool remove(HTTPHeaderName);
+ size_t memoryCost() const;
+
// Instead of passing a string literal to any of these functions, just use a HTTPHeaderName instead.
template<size_t length> String get(const char (&)[length]) const = delete;
template<size_t length> void set(const char (&)[length], const String &) = delete;