Skip to content

Commit

Permalink
Merge pull request #8184 from kenjis/docs-add-note-to-CURLRequest-sha…
Browse files Browse the repository at this point in the history
…reOptions

docs: add note to not recommended `CURLRequest::$shareOptions`
  • Loading branch information
kenjis authored Nov 13, 2023
2 parents 863781f + b2d9926 commit f023594
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions user_guide_src/source/libraries/curlrequest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ Config for CURLRequest
Sharing Options
===============

.. note:: Since v4.4.0, the default value has been changed to ``false``. This
setting exists only for backward compatibility. New users do not need to
change the setting.
.. important:: This setting exists only for backward compatibility. Do not use it
in new projects. Even if you are already using it, we recommend that you disable
it.

.. note:: Since v4.4.0, the default value has been changed to ``false``.

If you want to share all the options between requests, set ``$shareOptions`` to
``true`` in **app/Config/CURLRequest.php**:
Expand Down

0 comments on commit f023594

Please sign in to comment.