APIRequest

constructor(enableCertificatesValidation: Boolean)

Constructor to init APIRequest

Parameters

enableCertificatesValidation

: whether enable the SSL certificates validation, this for example when the certificate is a self-signed certificate to by-pass


constructor(defaultErrorResponse: String)

Constructor to init APIRequest

Parameters

defaultErrorResponse

error message to return if is not request error


constructor(defaultErrorResponse: String, enableCertificatesValidation: Boolean)

Constructor to init APIRequest

Parameters

defaultErrorResponse

error message to return if is not request error

enableCertificatesValidation

: whether enable the SSL certificates validation, this for example when the certificate is a self-signed certificate to by-pass


constructor(requestTimeout: Long)

Constructor to init APIRequest

Parameters

requestTimeout

timeout for the requests


constructor(requestTimeout: Long, enableCertificatesValidation: Boolean)

Constructor to init APIRequest

Parameters

requestTimeout

timeout for the requests

enableCertificatesValidation

: whether enable the SSL certificates validation, this for example when the certificate is a self-signed certificate to by-pass


constructor(defaultErrorResponse: String, requestTimeout: Long)

Constructor to init APIRequest

Parameters

defaultErrorResponse

error message to return if is not request error

requestTimeout

timeout for the requests


constructor(defaultErrorResponse: String, requestTimeout: Long, enableCertificatesValidation: Boolean)

Constructor to init APIRequest

Parameters

defaultErrorResponse

error message to return if is not request error

requestTimeout

timeout for the requests

enableCertificatesValidation

: whether enable the SSL certificates validation, this for example when the certificate is a self-signed certificate to by-pass


constructor()

Constructor to init APIRequest

No-any params required