Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I create a Translator instance using my own custom HttpClient? #43

Open
hntan opened this issue Aug 23, 2024 · 0 comments
Open

Comments

@hntan
Copy link

hntan commented Aug 23, 2024

Currently, the DeepL Java client Translator class utilizes its internal HttpClientWrapper, which is quite limited. Since it establishes a new connection for every request and lacks control over the task executor, it's suitable for infrequent usage. However, when sending a high volume of requests within a minute, resource constraints may become an issue. Is there a plan to enhance the client's capabilities?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant