```webSocketSession.send(frame)``` this suspends u...
# ktor
u
Copy code
webSocketSession.send(frame)
this suspends until it's actually sent? or only until enqueued (and will be sent later)? if it's the later - is there a way to tell it's actually been delivered? -- I need to update my entity's state from
SENDING
to
SENT
o
What’s your definition of delivered? Last package fragment left your local machine‘s network interface? Or do you actually mean received? Which wouldn’t necessarily mean „processed successfully“. You might want to consider making the receiver respond with acknowledgments.
u
im a websocket noob, I was expecting it to behave like http requests, i.e. i can always tell server received it but yea this assumption is flawed, and as you say i need acks thanks!
👍 1