Transport class Null safety

Utility class for interacting through the SOAP protocol

Mixed in types
Available Extensions

Constructors

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

Properties

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

Methods

envelope(XmlDocumentFragment? header, XmlDocumentFragment body) XmlDocument
XML for the SOAP envelope
getSecurityHeader(AuthInfo authInfo) XmlDocumentFragment
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
read / write

Static Methods

XML for the SOAP security header
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