Skip to content

Why not a Client trait? #2486

Answered by seanmonstar
anderspitman asked this question in Q&A
Discussion options

You must be logged in to vote

The trait I recommend people use is from tower::Service, which is implemented for Client: https://docs.rs/reqwest/latest/reqwest/struct.Client.html#impl-Service%3CRequest%3E-for-Client

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@anderspitman
Comment options

@seanmonstar
Comment options

Answer selected by anderspitman
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2485 on November 27, 2024 21:17.