Skip to content

feature: Allow to customize reqwest client builder#73

Merged
RoDmitry merged 4 commits intotypesense:mainfrom
luis-araujo-dev:feature/reqwest-client-builder
Mar 6, 2026
Merged

feature: Allow to customize reqwest client builder#73
RoDmitry merged 4 commits intotypesense:mainfrom
luis-araujo-dev:feature/reqwest-client-builder

Conversation

@luis-araujo-dev
Copy link
Contributor

Change Summary

After taking a look into #67, I created this PR with the same goal, following maintainers guidance.
This PR allows to customize the reqwest client builder by each node, by using a closure.
I left the default connection timeout value around for non-WASM, but used connection_timeout instead of timeout since it looked to be what's desired and expected.

PR Checklist

@luis-araujo-dev
Copy link
Contributor Author

@RoDmitry will you be able to take a look at the PR?
Please let me know if something needs to be changed in order to have it merged.

@RoDmitry RoDmitry force-pushed the feature/reqwest-client-builder branch from 5c52136 to 16a3793 Compare March 6, 2026 15:22
@RoDmitry RoDmitry force-pushed the feature/reqwest-client-builder branch from ffeb13a to 6d67c0e Compare March 6, 2026 15:35
@RoDmitry
Copy link
Collaborator

RoDmitry commented Mar 6, 2026

@luis-araujo-dev review my changes, and tell me if it's ready to merge.

@luis-araujo-dev
Copy link
Contributor Author

luis-araujo-dev commented Mar 6, 2026

The changes look good! Happy to merge the PR as is!

@RoDmitry RoDmitry merged commit f6f16da into typesense:main Mar 6, 2026
3 checks passed
@RoDmitry
Copy link
Collaborator

RoDmitry commented Mar 6, 2026

Thank you! I've liked the idea for a reverse compatibility with impl From<String> for NodeConfig.

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