CodeQL library for Go
codeql/go-all 0.7.15-dev (changelog, source)
Search

Module WebSocket

Provides classes for working with WebSocket-related APIs.

Import path

import semmle.go.frameworks.WebSocket

Imports

go

Provides classes for working with Go programs.

Classes

WebSocketReader

A function or a method which reads a message from a WebSocket connection.

WebSocketReaderAsSource

A message written to a WebSocket, considered as a flow sink for reflected XSS.

WebSocketRequestCall

A function call that establishes a new WebSocket connection.

Modules

GobwasWs

Provides classes for working with the ws package.

GolangOrgXNetWebsocket

Provides classes for working with the golang.org/x/net/websocket package.

GorillaWebsocket

Provides classes for working with the Gorilla WebSocket package.

NhooyrWebSocket

Provides classes for working with the nhooyr.io/websocket package.

WebSocketReader

Provides classes for working with messages read from a WebSocket.

WebSocketRequestCall

Provides classes for working with WebSocket request functions.