ReleaseableResponse

ClientResponse that can be released

Source:
HttpClientSession.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Abstract methods

def release(): Unit

Releases the resources associated with this dispatch

Releases the resources associated with this dispatch

This may entail closing the connection or returning it to a connection pool, depending on the client implementation and the state of the session responsible for dispatching the associated request.

Note:

release() must be idempotent and never throw an exception, otherwise the session will be corrupted.

Source:
HttpClientSession.scala

Inherited methods

Inherited from:
Product