Builds on the send method by supporting basic restful calls that calls a URL and returns a case class as the response.
Builds on the send method by supporting basic restful calls that calls a URL and returns a case class as the response.
the response type
the URL of the endpoint
the headers if any to provide
error handling support if the response status is not Success
circe decoding of the Response
Future[Response]
Default error handler for restful bad response statuses.
Default error handler for restful bad response statuses.
the type of response
throws a RuntimeException when an error occurs
Builds on the send method by supporting basic restful calls that take a case class as the request and returns a case class as the response.
Builds on the send method by supporting basic restful calls that take a case class as the request and returns a case class as the response.
the request type
the response type
the URL of the endpoint
the request instance
the headers if any to provide
error handling support if the response status is not Success
circe encoding of the Request
circe decoding of the Response
Future[Response]
Sends an HttpRequest and receives an asynchronous HttpResponse future.
Sends an HttpRequest and receives an asynchronous HttpResponse future.
the request to send
Future[HttpResponse]
Asynchronous HttpClient for simple request response support.
Adds support for simple restful request/response JSON support.