Verbs

We call verb the final method for a given chain

Example#

import { fetch } from '@rebased/core';
fetch('kitty', {
silent: false,
baseURL: 'https://api.thecatapi.com',
endpoint: '/v1'
})
// chain
.from('http')
.cache(true)
.state(false)
// verb
.get('/images/search?size=small&mime_types=gif')
.subscribe(kitty => console.log(kitty));

Verb Availability#

httpfirebasefirestoreparse
find๐Ÿ›ฃ๏ธ
http.get
โœ…โœ…โœ…
findOne๐Ÿ›ฃ๏ธ
http.get
โœ…โœ…โœ…
onโ›”๏ธโœ…โœ…โœ…
getโœ…๐Ÿ›ฃ๏ธ
http.get
๐Ÿ›ฃ๏ธ
http.get
๐Ÿ›ฃ๏ธ
parse.find
postโœ…๐Ÿ›ฃ๏ธ
http.post
๐Ÿ›ฃ๏ธ
http.post
๐Ÿ›ฃ๏ธ
parse.find
update๐Ÿ›ฃ๏ธ
http.patch
๐Ÿ›ฃ๏ธ
http.patch
โœ…๐Ÿ›ฃ๏ธ
parse.update
patchโœ…๐Ÿ›ฃ๏ธ
http.patch
๐Ÿ›ฃ๏ธ
http.patch
๐Ÿ›ฃ๏ธ
parse.set
deleteโœ…๐Ÿ›ฃ๏ธ
http.delete
โœ…โœ…
set๐Ÿ›ฃ๏ธ
http.post
๐Ÿ›ฃ๏ธ
http.post
โœ…โœ…
countโ›”๏ธโ›”๏ธโ›”๏ธโœ…
runโ›”๏ธโ›”๏ธโ›”๏ธโœ…
symbolmeaningdescription
โœ… available method is available for this driver
โ›”๏ธ unavailable method is not allowed for this driver
๐Ÿ›ฃ๏ธ routed method is routed to another driver