1[[configuration]]
2== Configuration
3
4Almost every aspect of the client is configurable. Most users only need to
5configure a few parameters to suit their needs, but it is possible to completely
6replace much of the internals if required.
7
8Custom configuration is accomplished before the client is instantiated, through
9the ClientBuilder helper object. You can find all the configuration options and
10check sample code that helps you replace the various components.
11
12To learn more about JSON in PHP, read <<php_json_objects>>.
13
14* <<host-config>>
15* <<set-retries>>
16* <<http-meta-data>>
17* <<enabling_logger>>
18* <<http-handler-config>>
19* <<namespaces>>
20* <<connection_pool>>
21* <<selectors>>
22* <<serializers>>
23* <<connection-factory>>
24* <<endpoint-closure>>
25* <<config-hash>>
26* <<per_request_configuration>>
27* <<future_mode>>
28
29
30include::php_json_objects.asciidoc[]
31
32include::host-config.asciidoc[]
33
34include::set-retries.asciidoc[]
35
36include::http-meta-data.asciidoc[]
37
38include::logger.asciidoc[]
39
40include::http-handler.asciidoc[]
41
42include::namespaces.asciidoc[]
43
44include::connection-pool.asciidoc[]
45
46include::selectors.asciidoc[]
47
48include::serializers.asciidoc[]
49
50include::connection-factory.asciidoc[]
51
52include::endpoint-closure.asciidoc[]
53
54include::config-hash.asciidoc[]
55
56include::per-request-configuration.asciidoc[]
57
58include::futures.asciidoc[]
59