@redocly/respect-core
Version:
API testing framework core
11 lines • 411 B
TypeScript
/**
* Encodes value for query string.
* @param allowReserved – when true, reserved chars (:/?#[]@!$&'()*+,;=) stay unencoded (RFC 3986).
*/
export declare function encodeURIValue(value: string, allowReserved?: boolean): string;
export declare function buildQueryString(params: Array<{
name: string;
value: string;
allowReserved?: boolean;
}>): string;
//# sourceMappingURL=url-encoding.d.ts.map