Package com.microsoft.azure.proton.transport.ws
Package containing classes for connecting via WebSockets.
-
Interface Summary Interface Description WebSocket Provides interface for WebSocket.WebSocketHandler Handles states for the web socket.WebSocketHeader Represents a web socket header. +---------------------------------------------------------------+ 0 1 2 3 | 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 | +-+-+-+-+-------+-+-------------+-------------------------------+ |F|R|R|R| opcode|M| Payload len | Extended payload length | |I|S|S|S| (4) |A| (7) | (16/64) | |N|V|V|V| |S| | (if payload len==126/127) | | |1|2|3| |K| | | +-+-+-+-+-------+-+-------------+ - - - - - - - - - - - - - - - + | Extended payload length continued, if payload len == 127 | + - - - - - - - - - - - - - - - +-------------------------------+ | | Masking-key, if MASK set to 1 | +-------------------------------+-------------------------------+ | Masking-key (continued) | Payload Data | +-------------------------------- - - - - - - - - - - - - - - - + : Payload Data continued -
Class Summary Class Description WebSocketHandler.WebsocketTuple Represents the web socket message and its type. -
Enum Summary Enum Description WebSocket.WebSocketFrameReadState States for the web socket when reading from the underlying buffer.WebSocket.WebSocketState States that the web socket can be in.WebSocketHandler.WebSocketMessageType States when parsing a frame.