3
0
corteza/pkg/options/HTTPClient.yaml
2020-12-08 10:16:43 +01:00

25 lines
542 B
YAML

imports:
- time
docs:
title: HTTP Client
props:
- name: clientTSLInsecure
type: bool
env: HTTP_CLIENT_TSL_INSECURE
default: false
description: |-
Allow insecure (invalid, expired TSL/SSL certificates) connections.
[IMPORTANT]
====
We strongly recommend keeping this value set to false except for local development or demos.
====
- name: httpClientTimeout
type: time.Duration
env: HTTP_CLIENT_TIMEOUT
default: 30 * time.Second
description: Default timeout for clients.