@redocly/respect-core
Version:
API testing framework core
10 lines • 386 B
TypeScript
/**
* Support the three possible header formats we'd get from a request or
* response:
*
* - A flat array with both names and values: [name, value, name, value, ...]
* - An object with array values: { name: [value, value] }
* - An object with string values: { name: value }
*/
export declare function buildHeaders(headers: any): any[];
//# sourceMappingURL=build-headers.d.ts.map