Example usage for Java org.springframework.web.socket.sockjs.frame SockJsFrame fields, constructors, methods, implement or subclass
The text is from its open source code.
SockJsFrame(String content) Create a new instance frame with the given frame content. |
SockJsFrame | closeFrame(int code, @Nullable String reason) |
String | getContent() Return the SockJS frame content (never null ). |
String | getFrameData() Return data contained in a SockJS "message" and "close" frames. |
SockJsFrameType | getType() Return the SockJS frame type. |
SockJsFrame | heartbeatFrame() |