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

Server rewrite/enhancement #751

Merged
merged 73 commits into from
Nov 30, 2024
Merged

Server rewrite/enhancement #751

merged 73 commits into from
Nov 30, 2024

Conversation

frederik-uni
Copy link
Contributor

  • using fastapi and therefor supporting openapi/swagger out of the box
  • keeping connections alive instead of asking again and again if its finished
    • stream variant which sends progress in custom format(status[1byte], size[4 bytes], data[n bytes])
    • normal api which gives the final result in the end
  • allowing multiple translator instances to be used by the api.
  • byte response more custom encoding[not really encoded, its more a dump in binary that can be loaded in c++,...](example how to load in c++ and rust
  • remove from queue when disconnected
  • allow both json requests & form requests
  • server & experimental api now one server
  • a little bit more infos for the json response route
  • more customizable requests(pass in config instead of own format, which will keep the api up to date when the project is expanded)

@frederik-uni frederik-uni changed the title Server rewrite Server rewrite/enhancement Nov 22, 2024
@zyddnys
Copy link
Owner

zyddnys commented Nov 30, 2024

PR #745 is merged
do you want to update this PR?

@zyddnys zyddnys merged commit 20808d2 into zyddnys:main Nov 30, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants