{
  "type": "module",
  "source": "doc/api/api-util.md",
  "modules": [
    {
      "textRaw": "Util",
      "name": "util",
      "type": "module",
      "desc": "<p>Utility API for third-party implementations of the dispatcher API.</p>",
      "methods": [
        {
          "textRaw": "`parseHeaders(headers, [obj])`",
          "name": "parseHeaders",
          "type": "method",
          "signatures": [
            {
              "params": [
                {
                  "name": "headers"
                },
                {
                  "name": "obj",
                  "optional": true
                }
              ]
            }
          ],
          "desc": "<p>Receives a header object and returns the parsed value.</p>\n<p>Arguments:</p>\n<ul>\n<li>\n<p><strong>headers</strong> <code>(Buffer | string | (Buffer | string)[])[]</code> (required) - Header object.</p>\n</li>\n<li>\n<p><strong>obj</strong> <code>Record&#x3C;string, string | string[]></code> (optional) - Object to specify a proxy object. The parsed value is assigned to this object. But, if <strong>headers</strong> is an object, it is not used.</p>\n</li>\n</ul>\n<p>Returns: <code>Record&#x3C;string, string | string[]></code> If <strong>obj</strong> is specified, it is equivalent to <strong>obj</strong>.</p>"
        },
        {
          "textRaw": "`headerNameToString(value)`",
          "name": "headerNameToString",
          "type": "method",
          "signatures": [
            {
              "params": [
                {
                  "name": "value"
                }
              ]
            }
          ],
          "desc": "<p>Retrieves a header name and returns its lowercase value.</p>\n<p>Arguments:</p>\n<ul>\n<li><strong>value</strong> <code>string | Buffer</code> (required) - Header name.</li>\n</ul>\n<p>Returns: <code>string</code></p>"
        }
      ],
      "displayName": "Util"
    }
  ]
}