AsyncClientImpl
trait AsyncClient
trait AutoCloseable
trait ClientFactory[AsyncClient]
trait AsyncClientCompat
class Object
trait Matchable
class Any
Value members
Concrete methods
Inherited methods
def callInternal[Req, Resp](req: Request, requestSurface: Surface, responseSurface: Surface, requestContent: Req): Future[Resp]
- Inherited from:
- AsyncClient
Send an HTTP request and get the response in Scala Future type.
Send an HTTP request and get the response in Scala Future type.
It will return Future[HttpClientException]
for non-successful responses. For example, when receiving
non-retryable status code (e.g., 4xx), it will return Future[HttpClientException]. For server side failures (5xx
responses), this continues request retry until the max retry count.
If it exceeds the number of max retry attempts, it will return Future[HttpClientMaxRetryException].
- Inherited from:
- AsyncClient
Send an HTTP request and returns a response (or the last response if the request is retried)
Send an HTTP request and returns a response (or the last response if the request is retried)
- Inherited from:
- AsyncClient