IoHttpTransport class

SDK HTTP(S) transport with pooling, streaming and request-local cancellation. Cross-origin redirects strip credentials and HTTPS downgrades are rejected.

Implemented types

Constructors

IoHttpTransport({IoTransportOptions options = const IoTransportOptions()})

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

close() → Future<void>
Stops accepting requests and releases transport resources.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(HttpRequest request, CancellationToken cancellationToken) → Future<HttpResponse>
override
toString() → String
A string representation of this object.
inherited

Operators

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