File tree Expand file tree Collapse file tree
documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -374,8 +374,8 @@ For example, the properties below will:
374374* Configure all HTTP clients to use a one second connect timeout (unless otherwise overridden).
375375* Configure HTTP Service clients in the "`echo`" group to:
376376** Use a specific base URL.
377- ** Have a two second read timeout.
378- ** Insert API version information using an `X-Version` header .
377+ ** Have a one- second connect timeout.
378+ ** Have a two-second read timeout .
379379
380380[configprops,yaml]
381381----
@@ -386,11 +386,8 @@ spring:
386386 serviceclient:
387387 echo:
388388 base-url: "https://echo.zuplo.io"
389+ connect-timeout: 2s
389390 read-timeout: 2s
390- apiversion:
391- default: 1.0.0
392- insert:
393- header: X-Version
394391----
395392
396393
You can’t perform that action at this time.
0 commit comments