Zollartikel, EZA Import, Tariff

This commit is contained in:
2025-12-11 09:31:45 +01:00
parent 8c23aa4f8f
commit d1c23ac18c
9 changed files with 282 additions and 151 deletions

View File

@@ -103,6 +103,12 @@ Public Class cATEZ_Tariff
' Create an instance of the HTTP object
Dim http As New Chilkat.Http()
' ==== TIMEOUTS ERHÖHEN ====
http.ConnectTimeout = 30000 ' 30 Sekunden Verbindungsaufbau
http.ReadTimeout = 300000 ' 5 min /300 Sekunden Antwort lesen
' =========================
Dim baseUrl = ""
@@ -131,7 +137,7 @@ Public Class cATEZ_Tariff
' Führe die GET-Anfrage aus
Dim response As String = http.QuickGetStr(url)
'MsgBox(response.ToString)
' Prüfe auf Fehler
If http.LastMethodSuccess = False Then
Throw New Exception("HTTP Request failed: " & http.LastErrorText)