Transport class

Utility class for interacting through the SOAP protocol

Mixed-in types
  • UiLoggy

Constructors

Transport({required Dio dio, required AuthInfo authInfo})

Properties

authInfo AuthInfo
final
dio → Dio
final
hashCode int
The hash code for this object.
no setterinherited
loggy → Loggy<UiLoggy>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getEnvelope(Body body) Envelope
XML for the SOAP envelope
getSecuredEnvelope(Body body, [Authorization? authorization]) Envelope
XML for the SOAP envelope
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request(Uri uri, Body body) Future<Envelope>
securedRequest(Uri uri, Body body) Future<Envelope>
sendLogRequest(Uri uri, XmlDocument requestData) Future<Response<Uint8List>>
Send the SOAP requestData to the given url endpoint.
sendRequest(Uri uri, XmlDocument requestData) Future<Envelope>
Send the SOAP requestData to the given url endpoint.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

builder → XmlBuilder
final
timeDelta Duration
getter/setter pair

Static Methods

probe(String messageId) → XmlDocument
quickTag(String tagName, String nameSpace) → XmlDocumentFragment