toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-connect-slack-fake
/
org.http4k.connect.slack
/
FakeSlack
Fake
Slack
class
FakeSlack
:
ChaoticHttpHandler
,
FakeSlackState
Members
Constructors
Fake
Slack
Link copied to clipboard
constructor
(
)
Functions
add
Message
Link copied to clipboard
open
override
fun
addMessage
(
channelId
:
ChannelId
,
message
:
SlackMessage
)
behave
Link copied to clipboard
fun
behave
(
)
:
ChaosEngine
client
Link copied to clipboard
fun
client
(
)
:
Slack
invoke
Link copied to clipboard
open
operator override
fun
invoke
(
request
:
Request
)
:
Response
messages
Link copied to clipboard
open
override
fun
messages
(
channelId
:
ChannelId
)
:
List
<
SlackMessage
>
misbehave
Link copied to clipboard
fun
misbehave
(
stage
:
Stage
)
:
ChaosEngine
fun
misbehave
(
behaviour
:
Behaviour
)
:
ChaosEngine
return
Status
Link copied to clipboard
fun
returnStatus
(
status
:
Status
)
:
ChaosEngine