deployer icon indicating copy to clipboard operation
deployer copied to clipboard

Added options to fetch function

Open tombroucke opened this issue 1 year ago • 0 comments

When running the fetch() function, we can now add options:

fetch(
    'https://httpbin.org/get',
    options: [
        CURLOPT_SSL_VERIFYPEER => false,
        CURLOPT_SSL_VERIFYHOST => false,
        CURLOPT_TIMEOUT => 30,
        ...
    ]
);
  • [ ] Bug fix #…?

  • [x] New feature?

  • [ ] BC breaks?

  • [ ] Tests added?

  • [x] Docs added?

    Please, regenerate docs by running next command:
    $ php bin/docgen
    

tombroucke avatar Nov 02 '23 11:11 tombroucke