toggle menu
KAHelpers
androidJvm
switch theme
search in API
retrofit
/
dev.funkymuse.retrofit.interceptors
/
MockInterceptor
Mock
Interceptor
class
MockInterceptor
(
pathAndMessage
:
Pair
<
String
,
String
>
)
:
Interceptor
Usage: MockInterceptor( Pair("/bar", """{"foo":"baz"}"""))
Members
Constructors
Mock
Interceptor
Link copied to clipboard
constructor
(
pathAndMessage
:
Pair
<
String
,
String
>
)
Functions
intercept
Link copied to clipboard
open
override
fun
intercept
(
chain
:
Interceptor.Chain
)
:
Response