Interface WebSocketTransportCodec
public interface WebSocketTransportCodec
Encodes and decodes Fluxzero websocket transport payloads after format negotiation and before compression.
-
Method Summary
-
Method Details
-
format
WebSocketTransportFormat format()The negotiated format handled by this codec. -
encode
Encodes a protocol object into transport bytes.- Throws:
IOException
-
decode
Decodes transport bytes into a protocol object.- Throws:
IOException
-