HttpClient: Why is prepareRequest and all other pr...
# ktor
h
HttpClient: Why is prepareRequest and all other prepare methods marked as suspend? The builder should be suspend, but not the actual method. And
execute
is suspend.
a
My guess is that the method signatures were copied from the respective request methods (https://github.com/ktorio/ktor/pull/2315/changes#diff-8801e4200dad97edfc788c3085c3c3f8b0fe5037ded625e636bd57bdf1e6932bR83).