Skip to main content

lightyear.restconnector

Home > @runlightyear/lightyear > RestConnector

RestConnector class

Rest Connector

The base for making calls to REST APIs

Signature:
declare abstract class RestConnector extends AuthConnector 

Extends:

AuthConnector

Constructors

ConstructorModifiersDescription
(constructor)(props)Constructs a new instance of the RestConnector class

Properties

PropertyModifiersTypeDescription
camelizeboolean

Methods

MethodModifiersDescription
authorizationHeaders()Use defaultHeaders instead
buildUrl(url, params)
delete(props)
get(props)
getBaseUrl()
getDefaultData()
getDefaultHeaders()
getDefaultParams()
patch(props)
post(props)
processDelivery(delivery)static
put(props)
request(props)Make a proxied http request