diff options
Diffstat (limited to 'src/bun.js/bindings/webcore/HTTPHeaderMap.h')
-rw-r--r-- | src/bun.js/bindings/webcore/HTTPHeaderMap.h | 2 |
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; |