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

Gzip encoding: steps #584

Open
chivas-bambook opened this issue Jul 18, 2019 · 3 comments
Open

Gzip encoding: steps #584

chivas-bambook opened this issue Jul 18, 2019 · 3 comments
Assignees

Comments

@chivas-bambook
Copy link

Hi,
Could you provide specific steps on how to enable compression for rest endpoint?
Maybe a tutorial / example how to do it step by step for light-4j v2.x...
I have read this FAQ: https://doc.networknt.com/faq/gzip-response/#how-to-compress-the-response-with-gzip
but I don't understand how to apply this in my test app:

  1. what config files to change?
  2. need to create some provider & how to register it?
@stevehu
Copy link
Contributor

stevehu commented Jul 18, 2019

@chivas-bambook It is a good idea to create a tutorial to show how to use the encoder and decoder between two services. I will write up something soon. Thanks a lot for raising it up.

@stevehu stevehu self-assigned this Jul 18, 2019
@stevehu
Copy link
Contributor

stevehu commented Jul 24, 2019

@chivas-bambook Meanwhile, you can take a look at the test cases for the usage. It will take a while for us to create another tutorial.

@chivas-bambook
Copy link
Author

@stevehu Ok, thank you

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

2 participants