Home / Function/ removeAll() — fastify Function Reference

removeAll() — fastify Function Reference

Architecture documentation for the removeAll() function in content-type-parser.js from the fastify codebase.

Entity Profile

Dependency Diagram

graph TD
  eac4df22_274d_4a71_3c37_c9567e909972["removeAll()"]
  b47c11f3_fe3b_64dc_0f58_921e5921ec45["content-type-parser.js"]
  eac4df22_274d_4a71_3c37_c9567e909972 -->|defined in| b47c11f3_fe3b_64dc_0f58_921e5921ec45
  40e84005_becd_6bff_f406_1a86d1c08243["removeAllContentTypeParsers()"]
  40e84005_becd_6bff_f406_1a86d1c08243 -->|calls| eac4df22_274d_4a71_3c37_c9567e909972
  style eac4df22_274d_4a71_3c37_c9567e909972 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

lib/content-type-parser.js lines 156–161

ContentTypeParser.prototype.removeAll = function () {
  this.customParsers = new Map()
  this.parserRegExpList = []
  this.parserList = []
  this.cache = new Fifo(100)
}

Domain

Subdomains

Frequently Asked Questions

What does removeAll() do?
removeAll() is a function in the fastify codebase, defined in lib/content-type-parser.js.
Where is removeAll() defined?
removeAll() is defined in lib/content-type-parser.js at line 156.
What calls removeAll()?
removeAll() is called by 1 function(s): removeAllContentTypeParsers.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free