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
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