Skip to content

Conversation

noetro
Copy link

@noetro noetro commented Aug 25, 2025

Changes

The package scoped constructor of DefaultHttpClient has been made protected so that custom implementations can extend DefaultHttpClient to provide a pre-build OkHttp client delegate.

I considered making the constructor public so we didn't need to extend, but that felt like a step too far and leaks to the world that the DefaultHttpClient implementation is using OkHttp

References

Please include relevant links supporting this change such as a:

#754

Testing

The existing automated tests run.

  • This change adds test coverage
  • This change has been tested on the latest version of the platform/language

Checklist

@noetro noetro requested a review from a team as a code owner August 25, 2025 10:37
@noetro noetro mentioned this pull request Aug 25, 2025
5 tasks
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.

1 participant