HttpGoPayTransport class

Transport par défaut basé sur package:http.

Fonctionne sur toutes les plateformes Flutter/Dart : Android, iOS, desktop et Web. Pour l'ancienne implémentation dart:io, importer package:gopay/io.dart.

Implemented types

Constructors

HttpGoPayTransport(Duration timeout, {Client? client})
Crée un HttpGoPayTransport avec le timeout spécifié et un client optionnel.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration
Timeout par requête.
final

Methods

close() → void
Libère le client HTTP interne (sans effet si un client a été fourni).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(GoPayHttpRequest request) → Future<GoPayHttpResponse>
Exécute la requête HTTP et retourne un GoPayHttpResponse.
override
toString() → String
A string representation of this object.
inherited

Operators

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