The actor which could receive frame directly.
The actor which could receive frame directly. ie. by connection ! frame
Wandoulabs' WebSocket implementation doesn't support ack/nack-ing on the CommandFrame level.
Wandoulabs' WebSocket implementation doesn't support ack/nack-ing on the CommandFrame level. But it is possible to drop down to TCP messages by duplicating their FrameRendering logic in the ServerWorker actor. Here we construct a payload that is ignored by the ConnectionManager which requests an Ack.
A similar pattern could be applied for non-Text Frames and NACK based writing, in order to skip the FrameRendering logic.
WARNING: callers should be aware of the implications of changing the state in this method. Multiple calls to this **must not** be made in the same receive block, or the earlier Acks will be missed.
For more information, see https://groups.google.com/d/msg/akka-user/ckUJ9wlltuc/h37ZRCkAA6cJ
Abstract actor that makes an HTTP connection request to the provided location and upgrades to WebSocket when connected.
NOTE: this uses a Stash so needs a dequeue mailbox. The included
.withMailbox("org.suecarter.websocket.high-priority-ack-mailbox")is highly recommended.