source: imaps-frontend/node_modules/undici-types/util.d.ts

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 623 bytes
Line 
1export namespace util {
2 /**
3 * Retrieves a header name and returns its lowercase value.
4 * @param value Header name
5 */
6 export function headerNameToString(value: string | Buffer): string;
7
8 /**
9 * Receives a header object and returns the parsed value.
10 * @param headers Header object
11 * @param obj Object to specify a proxy object. Used to assign parsed values.
12 * @returns If `obj` is specified, it is equivalent to `obj`.
13 */
14 export function parseHeaders(
15 headers: (Buffer | string | (Buffer | string)[])[],
16 obj?: Record<string, string | string[]>
17 ): Record<string, string | string[]>;
18}
Note: See TracBrowser for help on using the repository browser.