Interface WebSocketHandler

All Known Implementing Classes:
WebSocketEndpoint

public interface WebSocketHandler
Handler for a WebSocket endpoint. Lifecycle: onOpen → onMessage* → onClose | onError. Lifetime contract for WebSocketFrame: valid ONLY within the synchronous scope of onMessage(dev.relism.flash.websocket.WebSocketSession, dev.relism.flash.websocket.WebSocketFrame). Do not retain references to the frame or its buffer across calls — copy with WebSocketFrame.copyPayload() if data must outlive the callback. OP_CONTINUATION frames are delivered as-is; fragment reassembly is an application concern.