Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SigaaHTTPWithBond

Implements sigaa bond in HTTP request class.

param

http instamce implementation

param

A instance of BondController to read current bond

param

url to switch bond

Hierarchy

  • SigaaHTTPWithBond

Implements

Index

Constructors

constructor

Methods

closeSession

  • closeSession(): void

downloadFileByGet

  • downloadFileByGet(urlPath: string, basepath: string, callback?: ProgressCallback): Promise<string>

downloadFileByPost

  • downloadFileByPost(urlPath: string, postValues: Record<string, string>, basepath: string, callback?: ProgressCallback): Promise<string>

followAllRedirect

get

post

postMultipart

Private switchBond

  • switchBond(): Promise<void>

Private verifyIfBondIsCorrect

  • verifyIfBondIsCorrect(): Promise<void>

Generated using TypeDoc