Properties
Protected logger
logger
: Logger = Logger.create()
xmlHttpImplClass
xmlHttpImplClass: any
Methods
deleteData
deleteData( endpoint: string , onDataLoaded: Function , onError: Function ) : void
Parameters
endpoint: string
onDataLoaded: Function
onError: Function
Returns void
doXmlHttp
doXmlHttp( method: string , endpoint: string , onDataLoaded: Function , onError: Function ) : void
Parameters
method: string
endpoint: string
onDataLoaded: Function
onError: Function
Returns void
doXmlHttpSendJson
doXmlHttpSendJson( method: string , sendData: any , endpoint: string , onDataLoaded: Function , onError: Function , additionalHeaders?: any ) : void
Parameters
method: string
sendData: any
endpoint: string
onDataLoaded: Function
onError: Function
Optional additionalHeaders: any
Returns void
getData
getData( endpoint: string , onDataLoaded: Function , onError: Function ) : void
Parameters
endpoint: string
onDataLoaded: Function
onError: Function
Returns void
getResponseHeader
getResponseHeader( headerName: string ) : string
Parameters
Returns string
options
options( endpoint: string , onDataLoaded: Function , onError: Function ) : void
Parameters
endpoint: string
onDataLoaded: Function
onError: Function
Returns void
postData
postData( endpoint: string , onDataLoaded: Function , onError: Function , sendData: any , additionalHeaders?: any ) : void
Parameters
endpoint: string
onDataLoaded: Function
onError: Function
sendData: any
Optional additionalHeaders: any
Returns void
putData
putData( endpoint: string , onDataLoaded: Function , onError: Function , sendData: any ) : void
Parameters
endpoint: string
onDataLoaded: Function
onError: Function
sendData: any
Returns void
Private setXmlHttpCallback
setXmlHttpCallback( xmlHttpInst: any , endpoint: string , onDataLoaded: Function , onError: Function ) : void
Parameters
xmlHttpInst: any
endpoint: string
onDataLoaded: Function
onError: Function
Returns void
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Interface used to abstract implementation details to allow for NodeJS and Browser usage of the library.