Versions in this module Expand all Collapse all v0 v0.40.1 Nov 13, 2026 v0.40.0 Nov 13, 2026 Changes in this version + const LibraryName + const MaxWebSocketMessage + var RequestClass = &object.Class + var State = struct{ ... } + var WebSocketClientClass = &object.Class + func CreateRequestInstance(method, path, body string, headers, query, pathParams map[string]string, ...) *object.Instance + func CreateWebSocketClientInstance(conn *WebSocketServerConn) *object.Instance + func Register(registrar object.LibraryRegistrar, allowedPaths []string) + type RouteInfo struct + Handler string + Methods []string + Static bool + StaticAllowed []string + StaticDir string + type WebSocketRouteInfo struct + Handler string + type WebSocketServerConn struct + func NewWebSocketServerConn(conn *websocket.Conn, id string) *WebSocketServerConn + func (c *WebSocketServerConn) Close() error + func (c *WebSocketServerConn) ClosedChan() <-chan struct{} + func (c *WebSocketServerConn) ID() string + func (c *WebSocketServerConn) IsConnected() bool + func (c *WebSocketServerConn) ReadWithTimeout(timeout time.Duration) (int, []byte, error) + func (c *WebSocketServerConn) RemoteAddr() string + func (c *WebSocketServerConn) WriteMessage(msgType int, data []byte) error