Skip to content

Commit 779e82a

Browse files
authored
ref(options): add missing transport options (#15025)
1 parent fe4651e commit 779e82a

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

docs/platforms/php/common/configuration/options.mdx

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,25 @@ Transports are used to send events to Sentry. Transports can be customized to so
249249

250250
<SdkOption name="transport" type="TransportInterface" defaultValue='null'>
251251

252-
Switches out the transport used to send events. How this works depends on the SDK. It can, for instance, be used to capture events for unit-testing or to send it through some more complex setup that requires proxy authentication.
252+
Switches out the transport used to send events. It can, for instance, be used to capture events for unit testing.
253+
254+
</SdkOption>
255+
256+
<SdkOption name="http_client" type="HttpClientInterface" defaultValue="null">
257+
258+
Switches out the HTTP client used by the SDKs transport.
253259

254260
</SdkOption>
255261

256262
<SdkOption name="http_proxy" type='string' defaultValue='null'>
257263

258-
When set, a proxy can be configured that should be used for outbound requests. This is also used for HTTPS requests unless a separate `https_proxy` is configured. However, not all SDKs support a separate HTTPS proxy. SDKs will attempt to default to the system-wide configured proxy, if possible. For instance, on Unix systems, the `http_proxy` environment variable will be picked up.
264+
When set, a proxy can be configured that should be used for outbound requests. This is also used for HTTPS requests.
265+
266+
</SdkOption>
267+
268+
<SdkOption name="http_proxy_authentication" type="string" defaultValue="null">
269+
270+
Sets proxy authentication when using `http_proxy`.
259271

260272
</SdkOption>
261273

@@ -270,3 +282,21 @@ The maximum number of seconds to wait while trying to connect to a server.
270282
The maximum execution time, in seconds, for the request+response as a whole. The value should also include the time for the connect phase, so it should be greater than the value set for the `http_connect_timeout` option.
271283

272284
</SdkOption>
285+
286+
<SdkOption name="http_ssl_verify_peer" type="bool" defaultValue="true">
287+
288+
Controls SSL peer verification for outbound requests.
289+
290+
</SdkOption>
291+
292+
<SdkOption name="http_ssl_native_ca" type="bool" defaultValue="false">
293+
294+
When enabled, the SDK will use the native OS certificate store.
295+
296+
</SdkOption>
297+
298+
<SdkOption name="http_compression" type="bool" defaultValue="true">
299+
300+
When enabled, request payloads are gzipped if the `zlib` extension is available.
301+
302+
</SdkOption>

0 commit comments

Comments
 (0)