MCPcopy
hub / github.com/axios/axios / AxiosURLSearchParams

Function AxiosURLSearchParams

lib/helpers/AxiosURLSearchParams.js:35–39  ·  view source on GitHub ↗

* It takes a params object and converts it to a FormData object * * @param {Object<string, any>} params - The parameters to be converted to a FormData object. * @param {Object<string, any>} options - The options object passed to the Axios constructor. * * @returns {void}

(params, options)

Source from the content-addressed store, hash-verified

33 * @returns {void}
34 */
35function AxiosURLSearchParams(params, options) {
36 this._pairs = [];
37
38 params && toFormData(params, this, options);
39}
40
41const prototype = AxiosURLSearchParams.prototype;
42

Callers

nothing calls this directly

Calls 1

toFormDataFunction · 0.85

Tested by

no test coverage detected