zio1
zio1
API
sttp.client3.httpclient.zio
HttpClientZioBackend
HttpClientZioBackend
SttpClient
SttpClientStubbing
stubbing
sttp.client3.impl.zio
ExtendEnv
RIOMonadAsyncError
SttpClientStubbingBase
Service
StubbingWhenRequest
ZioServerSentEvents
ZioSimpleQueue
ZioWebSockets
zio1
/
sttp.client3.impl.zio
/
SttpClientStubbingBase
/
StubbingWhenRequest
StubbingWhenRequest
sttp.client3.impl.zio.SttpClientStubbingBase.StubbingWhenRequest
case
class
StubbingWhenRequest
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
Clear all
Members list
Concise view
Value members
Concrete methods
def
thenRespond
[
T
](
body
:
T
):
URIO
[
SttpClientStubbing
,
Unit
]
def
thenRespond
[
T
](
resp
:
=>
Response
[
T
]):
URIO
[
SttpClientStubbing
,
Unit
]
def
thenRespondCyclic
[
T
](
bodies
:
T
*):
URIO
[
SttpClientStubbing
,
Unit
]
def
thenRespondCyclicResponses
[
T
](
responses
:
Response
[
T
]*):
URIO
[
SttpClientStubbing
,
Unit
]
def
thenRespondF
(
resp
:
=>
RIO
[
R
,
Response
[
_
]]):
URIO
[
SttpClientStubbing
,
Unit
]
def
thenRespondF
(
resp
:
RequestT
[
Identity
,
_
,
_
]
=>
RIO
[
R
,
Response
[
_
]]):
URIO
[
SttpClientStubbing
,
Unit
]
def
thenRespondNotFound
():
URIO
[
SttpClientStubbing
,
Unit
]
def
thenRespondServerError
():
URIO
[
SttpClientStubbing
,
Unit
]
def
thenRespondWithCode
(
status
:
StatusCode
,
msg
:
String
):
URIO
[
SttpClientStubbing
,
Unit
]
Inherited methods
def
productElementNames
:
Iterator
[
String
]
Attributes
Inherited from:
Product
def
productIterator
:
Iterator
[
Any
]
Attributes
Inherited from:
Product
Concrete fields
val
thenRespondOk
:
URIO
[
SttpClientStubbing
,
Unit
]
Implicits
Implicits
implicit
val
_serviceTag
:
Tag
[
Service
]