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

Client: Improve its creation flow and its options #795

Open
3 of 8 tasks
jeevatkm opened this issue May 11, 2024 · 0 comments
Open
3 of 8 tasks

Client: Improve its creation flow and its options #795

jeevatkm opened this issue May 11, 2024 · 0 comments
Assignees
Labels
v3 For resty v3

Comments

@jeevatkm
Copy link
Member

jeevatkm commented May 11, 2024

List of Resty client updates -

  • Provide the ability to update timeout values
  • Add Read-Write Mutex into the client struct to make all the client properties thread-safe. All the exported fields will become getter methods, e.g., client.BaseURL => client.BaseURL()
  • Improve TLS config handling
  • Improve Transport handling
  • Make middleware composable
  • Remove DualStack from net.Dialer since its deprecated
  • Remove http.Client.Timeout in favor of Request Context cancellation with timeout
    • Refactor from client.SetTimeout to client.SetRequestTimeout
  • Remove deprecated method client.SetHostURL
@jeevatkm jeevatkm added the v3 For resty v3 label May 11, 2024
@jeevatkm jeevatkm added this to the v3.0.0 Milestone milestone May 11, 2024
@jeevatkm jeevatkm self-assigned this May 11, 2024
jeevatkm added a commit that referenced this issue May 11, 2024
…thTimeout and NewWithDialer method, set go min version to 1.18, few cleanup #795
jeevatkm added a commit that referenced this issue May 11, 2024
…thTimeout and NewWithDialer method, set go min version to 1.18, few cleanup #795
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 For resty v3
Development

No branches or pull requests

1 participant