resty icon indicating copy to clipboard operation
resty copied to clipboard

Client: Improve its creation flow and its options

Open jeevatkm opened this issue 2 months ago • 0 comments

List of Resty client updates -

  • [x] 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
  • [x] 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
  • [x] Remove deprecated method client.SetHostURL

jeevatkm avatar May 11 '24 20:05 jeevatkm