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

Add ClientConfig module #162

Conversation

debug-ito
Copy link
Contributor

This patch adds a new module Network.TLS.ClientConfig, which helps users configure their client-side TLS settings.

I think Network.TLS module is too difficult for some users. Even a simple customization (such as adding a CA certificate to ClientParams) requires traversing its nested structures, looking for the right field to modify, consulting other modules and importing necessary symbols from them. This is so time consuming.

Network.TLS.ClientConfig module is the one-stop module to configure ClientParams. It defines some setter functions for fields that I think many users want to customize. It also re-exports data types from other modules, so users don't need to import them one by one.

@kazu-yamamoto
Copy link
Collaborator

I would like to close this issue because this is out-dated. I would like to suggest to create a new package to contain useful modules.

@debug-ito
Copy link
Contributor Author

Thanks for reply.

I'm so sad that this pull-request could not attract almost no attention, but I understand it. Even I forgot making this p-r.

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.

None yet

2 participants