Http2ClientSession

class Object
trait Matchable
class Any

Value members

Methods

def quality: Double
An estimate for the current quality of the session
Returns
a number with domain [0, 1] signifying the health or quality of
the session. The scale is intended to be linear.
def ping(): Future[Duration]
Ping the peer, asynchronously returning the duration of the round trip

Inherited methods

final def isClosed: Boolean
Return whether the client session is in the Closed state
Inhertied from
HttpClientSession
def close(within: Duration): Future[Unit]
Close the session within the specified duration.
The provided duration is only an advisory upper bound and the implementation may choose to
close the session at any time before the expiration of the within parameter. The
returned Future[Unit] will resolve when all resources have been freed from the client.
Note
This will generally entail closing the socket connection.
Inhertied from
HttpClientSession
Get the Status of session
Inhertied from
HttpClientSession
def dispatch(request: HttpRequest): Future[ReleaseableResponse]
Dispatch a HttpRequest
The resultant ReleaseableResponse contains a
Inhertied from
HttpClientSession
final def closeNow(): Future[Unit]
Close the session immediately, regardless of any pending dispatches
Inhertied from
HttpClientSession
final def isReady: Boolean
Return whether the client session is in the Ready state
Inhertied from
HttpClientSession