tamer-rest
tamer-rest
API
tamer.rest
Authentication
Authentication
DecodedPage
DecodedPage
EphemeralSecretCache
Offset
Offset
PeriodicOffset
PeriodicOffset
RESTSetup
RESTSetup
tamer-rest
/
tamer.rest
/
RESTSetup
RESTSetup
tamer.rest.RESTSetup
See the
RESTSetup
companion class
object
RESTSetup
Attributes
Companion
class
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
RESTSetup
.type
Members list
Clear all
Value members
Concrete methods
def
apply
[
R
,
K
:
Tag
,
V
:
Tag
,
SV
:
Tag
](
initialState
:
SV
)(
query
:
SV
=>
SttpRequest
,
pageDecoder
:
String
=>
RIO
[
R
,
DecodedPage
[
V
,
SV
]],
recordFrom
: (
SV
,
V
)
=>
Record
[
K
,
V
],
stateFold
: (
DecodedPage
[
V
,
SV
],
SV
)
=>
URIO
[
R
,
SV
],
authentication
:
Option
[
Authentication
[
R
]],
filterPage
: (
DecodedPage
[
V
,
SV
],
SV
)
=>
List
[
V
],
retrySchedule
:
Option
[
SttpRequest
=>
Schedule
[
Any
,
FallibleResponse
,
FallibleResponse
]])(
implicit
evidence$6
:
Tag
[
K
],
evidence$7
:
Tag
[
V
],
evidence$8
:
Tag
[
SV
],
evidence$9
:
Hashable
[
SV
],
ev
:
SerdesProvider
[
K
,
V
,
SV
]):
RESTSetup
[
R
,
K
,
V
,
SV
]
def
paginated
[
R
,
K
:
Tag
,
V
:
Tag
](
baseUrl
:
String
,
pageDecoder
:
String
=>
RIO
[
R
,
DecodedPage
[
V
,
Offset
]],
authentication
:
Option
[
Authentication
[
R
]],
retrySchedule
:
Option
[
SttpRequest
=>
Schedule
[
Any
,
FallibleResponse
,
FallibleResponse
]])(
recordFrom
: (
Offset
,
V
)
=>
Record
[
K
,
V
],
offsetParameterName
:
String
,
increment
:
Int
,
fixedPageElementCount
:
Option
[
Int
],
readRequestTimeout
:
Duration
,
initialOffset
:
Offset
)(
implicit
evidence$10
:
Tag
[
K
],
evidence$11
:
Tag
[
V
],
ev
:
SerdesProvider
[
K
,
V
,
Offset
]):
RESTSetup
[
R
,
K
,
V
,
Offset
]
def
periodicallyPaginated
[
R
,
K
:
Tag
,
V
:
Tag
](
baseUrl
:
String
,
pageDecoder
:
String
=>
RIO
[
R
,
DecodedPage
[
V
,
PeriodicOffset
]],
periodStart
:
Instant
,
authentication
:
Option
[
Authentication
[
R
]],
offsetParameterName
:
String
,
increment
:
Int
,
minPeriod
:
Duration
,
maxPeriod
:
Duration
,
readRequestTimeout
:
Duration
,
startingOffset
:
Int
,
filterPage
: (
DecodedPage
[
V
,
PeriodicOffset
],
PeriodicOffset
)
=>
List
[
V
],
retrySchedule
:
Option
[
SttpRequest
=>
Schedule
[
Any
,
FallibleResponse
,
FallibleResponse
]])(
recordFrom
: (
PeriodicOffset
,
V
)
=>
Record
[
K
,
V
])(
implicit
evidence$12
:
Tag
[
K
],
evidence$13
:
Tag
[
V
],
ev
:
SerdesProvider
[
K
,
V
,
PeriodicOffset
]):
RESTSetup
[
R
,
K
,
V
,
PeriodicOffset
]
In this article
Attributes
Members list
Value members
Concrete methods