wenym1 commented on issue #4286:
URL: https://github.com/apache/opendal/issues/4286#issuecomment-2048945401
> I think about this again and plan to introduce a `HttpClient` trait:
>
> ```rust
> trait HttpClient {
> async fn send(&self, req: Request<Buffer>) -> Response<Buffer>;
> }
> ```
>
> You can do whatever you want to the client itself (you can even use the
same client from aws sdk!).
>
> What do you think? @wenym1
Looks promising to me!
If you have any PR on it, could you invite me to review so that I can try
whether the new trait can satisfy our usage? Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]