Skip to content

Commit e24a939

Browse files
committed
[HttpClient] wrap class name in backticks, remove slashes from example code
1 parent 8ac693a commit e24a939

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

http_client.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -728,12 +728,12 @@ When using this component in a full-stack Symfony application, this behavior is
728728
not configurable and cURL will be used automatically if the cURL PHP extension
729729
is installed and enabled. Otherwise, the native PHP streams will be used.
730730

731-
Providing additional options to CurlHttpClient
731+
Providing Additional Options to CurlHttpClient
732732
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
733733

734-
It is possible to provide additional cURL options to CurlHttpClient. PHP exposes
734+
It is possible to provide additional cURL options to ``CurlHttpClient``. PHP exposes
735735
a lot of `cURL options`_ that can be passed to ``curl_setopt`` function, but only some
736-
of them are used in CurlHttpClient in favor of bigger component portability.
736+
of them are used in ``CurlHttpClient`` in favor of bigger component portability.
737737

738738
To provide cURL-related parameters to request, add an ``extra.curl`` option in your
739739
configuration::
@@ -746,13 +746,13 @@ configuration::
746746
// ...
747747
'extra' => [
748748
'curl' => [
749-
\CURLOPT_IPRESOLVE => \CURL_IPRESOLVE_V6
749+
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V6
750750
]
751751
]
752752
]);
753753

754754

755-
This option is available only when using CurlHttpClient, other clients will ignore these options.
755+
This option is available only when using ``CurlHttpClient``, other clients will ignore these options.
756756

757757
.. note::
758758

0 commit comments

Comments
 (0)