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

envelope(XmlDocumentFragment? header, XmlDocumentFragment body) → XmlDocument
XML for the SOAP envelope
getSecurityHeader({Authorization? authorization}) → XmlDocumentFragment
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
securedEnvelope(XmlDocumentFragment body) → XmlDocument
XML for the SOAP envelope
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
security({required String username, required String password, required String nonce, required String created}) → XmlDocumentFragment
XML for the SOAP security