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:
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(props) | Constructs a new instance of the RestConnector class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
camelize | boolean |
Methods
Method | Modifiers | Description |
---|---|---|
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 |