W-CF Documentation - v11.0.0
    Preparing search index...

    Class EaiwsContextAbstract

    Hierarchy (View Summary)

    Index
    • get baseUrl(): string

      Returns string

    • get isValid(): boolean

      Returns boolean

    • get sessionId(): string

      ID of the current session context. If this instance is a EaiwsSession then this ID is the ID of the main EAIWS session.

      Returns string

    • Parameters

      • pUrl: string

      Returns Promise<void>

    • Parameters

      • pType: SessionCacheFileType
      • pFile: Blob
      • OptionalpOnProgress: (pEvent: ProgressEvent, pXhr: XMLHttpRequest) => any
      • OptionalpUrlSuffix: string
      • OptionalpArchiveType: "UnixAR"

      Returns Promise<string | null>

    • Uploads the given file to the provided EAIWS upload URL. Note: If a progress callback is provided the request is performed using XmlHttpRequest otherwise using fetch.

      Parameters

      • pTargetUrl: string
      • pFile: Blob
      • OptionalpOnProgress: (pEvent: ProgressEvent, pXhr: XMLHttpRequest) => any

      Returns Promise<string>

      Returns the used upload url.