Binance Connector JS
    Preparing search index...

    Function setSearchParams

    • Sets the search parameters of the provided URL by flattening the given objects into the URL's search parameters.

      This function takes a URL and one or more objects, and updates the URL's search parameters by flattening the objects into key-value pairs. It uses the setFlattenedQueryParams function to recursively flatten the objects.

      Parameters

      • url: URL

        The URL to update the search parameters for.

      • ...objects: Record<string, unknown>[]

        One or more objects to flatten into the URL's search parameters.

      Returns void