@@ -168,35 +168,40 @@ initialization.
168
168
Constructor taking a ``client_options<Tag> `` object. The following table
169
169
shows the options you can set on a ``client_options<Tag> `` instance.
170
170
171
- +----------------------+-------------------------------+-------------------------+
172
- | Parameter Name | Type | Description |
173
- +======================+===============================+=========================+
174
- | follow_redirects | ``bool `` | Boolean to specify |
175
- | | | whether the client |
176
- | | | should follow HTTP |
177
- | | | redirects. Default is |
178
- | | | ``false ``. |
179
- +----------------------+-------------------------------+-------------------------+
180
- | cache_resolved | ``bool `` | Boolean to specify |
181
- | | | whether the client |
182
- | | | should cache resolved |
183
- | | | endpoints. The default |
184
- | | | is ``false ``. |
185
- +----------------------+-------------------------------+-------------------------+
186
- | io_service | ``shared_ptr<io_service> `` | Shared pointer to a |
187
- | | | Boost.Asio |
188
- | | | ``io_service ``. |
189
- +----------------------+-------------------------------+-------------------------+
190
- | openssl_certificate | string | The filename of the |
191
- | | | certificate to load for |
192
- | | | the SSL connection for |
193
- | | | verification. |
194
- +----------------------+-------------------------------+-------------------------+
195
- | openssl_verify_path | string | The directory from |
196
- | | | which the certificate |
197
- | | | authority files are |
198
- | | | located. |
199
- +----------------------+-------------------------------+-------------------------+
171
+ +---------------------+----------------------------+--------------------------+
172
+ | Parameter Name | Type | Description |
173
+ +=====================+============================+==========================+
174
+ | follow_redirects | ``bool `` | Boolean to specify |
175
+ | | | whether the client |
176
+ | | | should follow HTTP |
177
+ | | | redirects. Default is |
178
+ | | | ``false ``. |
179
+ +---------------------+----------------------------+--------------------------+
180
+ | cache_resolved | ``bool `` | Boolean to specify |
181
+ | | | whether the client |
182
+ | | | should cache resolved |
183
+ | | | endpoints. The default |
184
+ | | | is ``false ``. |
185
+ +---------------------+----------------------------+--------------------------+
186
+ | io_service | ``shared_ptr<io_service> `` | Shared pointer to a |
187
+ | | | Boost.Asio |
188
+ | | | ``io_service ``. |
189
+ +---------------------+----------------------------+--------------------------+
190
+ | openssl_certificate | ``string `` | The filename of the |
191
+ | | | certificate to load for |
192
+ | | | the SSL connection for |
193
+ | | | verification. |
194
+ +---------------------+----------------------------+--------------------------+
195
+ | openssl_verify_path | ``string `` | The directory from |
196
+ | | | which the certificate |
197
+ | | | authority files are |
198
+ | | | located. |
199
+ +---------------------+----------------------------+--------------------------+
200
+ | always_verify_peer | ``bool `` | Boolean to specify |
201
+ | | | whether the client |
202
+ | | | should always verify |
203
+ | | | peers in SSL connections |
204
+ +---------------------+----------------------------+--------------------------+
200
205
201
206
202
207
To use the above supported named parameters, you'll have code that looks like
0 commit comments