Http2ClientTransport class abstract interface

Transport for managing HTTP/2 connections.

Constructors

Http2ClientTransport.new({SecurityContext? context, Duration? pingInterval, Duration pingTimeout = const Duration(seconds: 15), bool pingIdleConnections = false, Duration idleConnectionTimeout = const Duration(minutes: 15)})
The default implementation manages HTTP/2 connections and keeps them alive with PING frames.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

makeRequest(Uri uri, List<Header> headers) Future<ClientTransportStream>
Similar to http2.ClientTransportConnection.makeRequest, but handles connectring to the server and issuing the request.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited