You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @return Future A future that resolves to a VaasVerdict
78
79
* @throws HttpException If the request fails
80
+
* @throws TimeoutException If the request exceeds the timeout specified in the VaasOptions. Per default 300 seconds.
79
81
* @throws VaasClientException The request is malformed or cannot be completed. Recommended actions: Don't repeat the request. Log. Analyze the error.
80
82
* @throws VaasAuthenticationException The Vaas authentication failed. Recommended actions: Double-check your credentials in the authenticator object. Check if your authenticator connects to the correct token endpoint. Check if the token endpoint is reachable. If your problem persists contact G DATA.
81
83
* @throws VaasServerException The server encountered an internal error. Recommended actions: You may retry the request after a certain delay. If the problem persists contact G DATA.
@@ -132,6 +134,7 @@ public function forSha256Async(Sha256 $sha256, ?ForSha256Options $options = null
132
134
* @param ForFileOptions|null $options Options for the request
* @return Future A future that resolves to a VaasVerdict
137
+
* @throws TimeoutException If the request exceeds the timeout specified in the VaasOptions. Per default 300 seconds.
135
138
* @throws VaasClientException The request is malformed or cannot be completed. Recommended actions: Don't repeat the request. Log. Analyze the error.
136
139
* @throws VaasAuthenticationException The Vaas authentication failed. Recommended actions: Double-check your credentials in the authenticator object. Check if your authenticator connects to the correct token endpoint. Check if the token endpoint is reachable. If your problem persists contact G DATA.
137
140
* @throws VaasServerException The server encountered an internal error. Recommended actions: You may retry the request after a certain delay. If the problem persists contact G DATA.
@@ -151,7 +154,7 @@ public function forFileAsync(string $path, ?ForFileOptions $options = null, ?Can
151
154
if ($options->useCache || $options->useHashLookup) {
* @return Future A future that resolves to a VaasVerdict
196
199
* @throws HttpException If the request fails
200
+
* @throws TimeoutException If the request exceeds the timeout specified in the VaasOptions. Per default 300 seconds.
197
201
* @throws VaasClientException The request is malformed or cannot be completed. Recommended actions: Don't repeat the request. Log. Analyze the error.
198
202
* @throws VaasAuthenticationException The Vaas authentication failed. Recommended actions: Double-check your credentials in the authenticator object. Check if your authenticator connects to the correct token endpoint. Check if the token endpoint is reachable. If your problem persists contact G DATA.
199
203
* @throws VaasServerException The server encountered an internal error. Recommended actions: You may retry the request after a certain delay. If the problem persists contact G DATA.
@@ -252,7 +256,7 @@ public function forStreamAsync(ReadableStream $stream, int $fileSize, ?ForStream
252
256
$this->logger->error("Unexpected response from the server for stream");
253
257
thrownewVaasServerException('Unexpected response from the server');
* @return Future A future that resolves to a VaasVerdict
268
272
* @throws HttpException If the request fails
273
+
* @throws TimeoutException If the request exceeds the timeout specified in the VaasOptions. Per default 300 seconds.
269
274
* @throws VaasClientException The request is malformed or cannot be completed. Recommended actions: Don't repeat the request. Log. Analyze the error.
270
275
* @throws VaasAuthenticationException The Vaas authentication failed. Recommended actions: Double-check your credentials in the authenticator object. Check if your authenticator connects to the correct token endpoint. Check if the token endpoint is reachable. If your problem persists contact G DATA.
271
276
* @throws VaasServerException The server encountered an internal error. Recommended actions: You may retry the request after a certain delay. If the problem persists contact G DATA.
@@ -422,7 +427,7 @@ private static function logUri(Request $request): string
422
427
* @return string The validated URI
423
428
* @throws VaasClientException If the URI is invalid
0 commit comments