Restrict API base URLs and update snapshot version
Build and Analyse / build-and-analyse (push) Successful in 1m31s

Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
thischwaandJunie committed 2026-11-09 16:56:12 +01:00
1 parent 5488a92c2d
commit 1ddc1ce832
7 files changed
+33 -58

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ CfDnsClient cfDnsClient = new CfDnsClientBuilder()
```java
CfDnsClient cfDnsClient = new CfDnsClientBuilder()
.withApiTokenAuth("your-api-token")
.withBaseUrl("https://custom-api.example.com/client/v4") // HTTPS required; HTTP allowed only for loopback hosts
.withBaseUrl("https://api.cloudflare.com/client/v4") // HTTPS required;
.withConnectTimeout(Duration.ofSeconds(5)) // default: 10 s
.withResponseTimeout(Duration.ofSeconds(15)) // default: 30 s
.withEmptyResultThrowsException(true) // default: false