Create a new module for HttpOps specialized to a specific error type.
Create a new module for HttpOps specialized to a specific error type.
Instead of
val x = HttpOps[String].unit(3)
one can say
val httpOps = HttpOps[String] import httpOps._ val x = unit(3)
Execute an HTTP request.
Execute an HTTP request.
Any requests made are added to the request log automatically.
Any HTTP errors (time-outs, connection problems, malformed responses) will result in the computation failing with NetworkError.