kalium
Toggle table of contents
c8a50a7
common
Target filter
common
Switch theme
Search in API
Skip to content
kalium
network
/
com.wire.kalium.network.utils
/
MockWebSocketSession
Mock
Web
Socket
Session
class
MockWebSocketSession
(
val
coroutineContext
:
CoroutineContext
=
EmptyCoroutineContext
)
:
WebSocketSession
Members
Constructors
Mock
Web
Socket
Session
Link copied to clipboard
constructor
(
coroutineContext
:
CoroutineContext
=
EmptyCoroutineContext
)
Properties
coroutine
Context
Link copied to clipboard
open
override
val
coroutineContext
:
CoroutineContext
extensions
Link copied to clipboard
open
override
val
extensions
:
List
<
WebSocketExtension
<
*
>
>
incoming
Link copied to clipboard
open
override
val
incoming
:
ReceiveChannel
<
Frame
>
masking
Link copied to clipboard
open
override
var
masking
:
Boolean
max
Frame
Size
Link copied to clipboard
open
override
var
maxFrameSize
:
Long
outgoing
Link copied to clipboard
open
override
val
outgoing
:
SendChannel
<
Frame
>
Functions
emit
Link copied to clipboard
suspend
fun
emit
(
message
:
FakeWebSocketMessage
)
flush
Link copied to clipboard
open
suspend override
fun
flush
(
)
send
Link copied to clipboard
open
suspend
fun
send
(
frame
:
Frame
)
terminate
Link copied to clipboard
open
override
fun
terminate
(
)