UNPKG

@multiplayer-app/session-recorder-browser

Version:
10 lines 568 B
/** * IE11 doesn't support `new URL` * so we can create an anchor element and use that to parse the URL * there's a lot of overlap between HTMLHyperlinkElementUtils and URL * meaning useful properties like `pathname` are available on both */ export declare const convertToURL: (url: string) => HTMLAnchorElement | null; export declare const isUrlMatchingRegex: (url: string, pattern: string) => boolean; export declare const formDataToQuery: (formdata: Record<string, any> | FormData, arg_separator?: string) => string; //# sourceMappingURL=request-utils.d.ts.map