Replies: 1 comment 3 replies
-
In general, I prefer provide functionality that enables to build a testing library on top of FsHttp rather than providing something from inside. Currently, it is possible to register transformation- or factory functions for HttpRequestMessage and HttpClient (either globally or per-request). The step that actually sends the request (i.e. transforms the request into a response) is not interceptable (might be a feature we could think about). Using the interception possibilities for HttpRequestMessage / HttpClient, it might be possible to prototype something that you look for. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use Flurl extensively when I use C#. I don't like that there is not an immutable builder, but I do like that I can easily test it. Would it be possible to have something similar for FsHttp?
Beta Was this translation helpful? Give feedback.
All reactions