Click or drag to resize

AMLHttpClientLibraryService Class

This class is an abstract implementation of the IAMLLibraryService interface which can be used for http or https clients.
Inheritance Hierarchy
SystemObject
  Aml.Engine.Services.LibraryServiceAMLHttpClientLibraryService
    Aml.Engine.Services.LibraryServiceNextCloudClient

Namespace: Aml.Engine.Services.LibraryService
Assembly: Aml.Engine.Services.LibraryService (in Aml.Engine.Services.LibraryService.dll) Version: 1.0
Syntax
public abstract class AMLHttpClientLibraryService : IAMLLibraryService, 
	IAMLService

The AMLHttpClientLibraryService type exposes the following members.

Methods
 NameDescription
Public methodGetAMLFilestreamsAsync If an URL is defined in the amlFileModel the resource is loaded from the defined location. For each identified AutomationML file in the stream, a file resource stream is returned.
Public methodGetAMLFilestreamsFromZipArchiveAsync Get all streams from a zip-Stream, which are recognized as AutomationML Files, which are either AutomationML XML documents or AutomationML containers
Public methodGetAMLLibraryDocumentsAsync Gets a collection of all available AMLFiles, which contain AutomationML linraries from the registered server. If an authorization is needed, it can be provided by the accessToken. The listed files will contain a download URL which can be used to load the AML-File into a CAEXDocument by calling LoadAMLFileAsync(AMLFileModel).
Public methodGetAMLModelDocumentsAsync Gets a collection of all available AMLFiles, which contain AutomationML models from the registered server. If an authorization is needed, it can be provided by the accessToken. The listed files will contain a download URL which can be used to load the AML-File into a CAEXDocument by calling LoadAMLFileAsync(AMLFileModel).
Public methodLoadAMLFileAsync Loads an AML-File into a CAEXDocument or an AutomationMLContainer, when the fileModel has defined a download URL and a server is alive.
Public methodLoadLibraryCatalogAsync Gets the library catalog from the registered server, listing all available AutomationML libraries.
Public methodCode exampleRegisterServer Register a server which can provide the AML file resources
Top
See Also