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

Refactor code to use http.RoundTripper #1

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

lxt2
Copy link
Contributor

@lxt2 lxt2 commented Oct 5, 2016

This PR modifies harhar pretty substantially such that it focuses on the http.RoundTripper interface, which is what http.Client uses internally. This lets it be used with existing applications without changing anything by the Transport property of the client.

In the interest of trying to avoid creating another HAR library in golang (there are several), I'd be happy to consolidate efforts. I understand this is a pretty large departure from your approach and happy to change the name of my fork if you'd prefer not to.

@pbnjay
Copy link
Owner

pbnjay commented Nov 1, 2023

Only a "few" years late... The project that used this had already moved on by time you made the PR, so I missed it!

but I'm dusting off this project and going to use it again for some new stuff, so better late then never!

@pbnjay pbnjay merged commit a3d0b0a into pbnjay:master Nov 1, 2023
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.

2 participants