Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gorilla/websocket
/ functions
Functions
256 in github.com/gorilla/websocket
⨍
Functions
256
◇
Types & classes
45
Function
TestIsWebSocketUpgrade
(t *testing.T)
server_test.go:48
Function
TestJSON
(t *testing.T)
json_test.go:15
Function
TestJoinMessages
(t *testing.T)
join_test.go:14
Function
TestMaskBytes
(t *testing.T)
mask_test.go:31
Function
TestNetDialConnect
TestNetDialConnect tests selection of dial method between NetDial, NetDialContext, NetDialTLS or NetDialTLSContext
client_server_test.go:926
Function
TestParseExtensions
(t *testing.T)
util_test.go:88
Function
TestPartialJSONRead
(t *testing.T)
json_test.go:40
Function
TestPreparedMessage
(t *testing.T)
prepared_test.go:35
Function
TestProxyAuthorizationDial
(t *testing.T)
client_server_test.go:189
Function
TestProxyDial
(t *testing.T)
client_server_test.go:151
Function
TestReadLimit
(t *testing.T)
conn_test.go:465
Function
TestRespOnBadHandshake
(t *testing.T)
client_server_test.go:528
Function
TestSocksProxyDial
(t *testing.T)
client_server_test.go:767
Function
TestSubprotocols
(t *testing.T)
server_test.go:29
Function
TestTokenListContainsValue
(t *testing.T)
util_test.go:46
Function
TestTracingDialWithContext
(t *testing.T)
client_server_test.go:846
Function
TestTruncWriter
(t *testing.T)
compression_test.go:15
Function
TestUnderlyingConn
(t *testing.T)
conn_test.go:565
Function
TestUnexpectedCloseErrors
(t *testing.T)
conn_test.go:635
Function
TestValidCompressionLevel
(t *testing.T)
compression_test.go:68
Function
TestWriteAfterMessageWriterClose
(t *testing.T)
conn_test.go:439
Function
TestWriteBufferPool
(t *testing.T)
conn_test.go:203
Function
TestWriteBufferPoolError
TestWriteBufferPoolError ensures that buffer is returned to pool after error on write.
conn_test.go:309
Function
TestWriteBufferPoolSync
TestWriteBufferPoolSync ensures that *sync.Pool works as a buffer pool.
conn_test.go:281
Function
TestX
TestX prevents godoc from showing this entire file in the example. Remove this function when a second example is added.
example_test.go:45
Function
Upgrade
Upgrade upgrades the HTTP server connection to the WebSocket protocol. Deprecated: Use websocket.Upgrader instead. Upgrade does not perform origin c
server.go:297
Method
Write
(p []byte)
conn_test.go:648
Method
Write
(p []byte)
client_server_test.go:355
Method
Write
(p []byte)
compression.go:98
Method
Write
(p []byte)
prepared.go:101
Function
compressNoContextTakeover
(w io.WriteCloser, level int)
compression.go:44
Function
decompressNoContextTakeover
(r io.Reader)
compression.go:28
Function
doHandshake
(ctx context.Context, tlsConn *tls.Conn, cfg *tls.Config)
tls_handshake_116.go:11
Function
echo
use default options
examples/echo/server.go:23
Function
echoCopyFull
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:82
Function
echoCopyWriterOnly
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:78
Function
echoReadAllWriteMessage
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:150
Function
echoReadAllWritePreparedMessage
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:154
Function
echoReadAllWriter
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:146
Function
home
(w http.ResponseWriter, r *http.Request)
examples/echo/server.go:45
Function
init
()
proxy.go:23
Method
init
()
x_net_proxy.go:264
Function
main
()
examples/command/main.go:180
Function
main
()
examples/echo/server.go:49
Function
main
()
examples/echo/client.go:23
Function
main
()
examples/chat/main.go:28
Function
main
()
examples/filewatch/main.go:158
Function
main
()
examples/autobahn/server.go:173
Function
maskBytes
(key [4]byte, pos int, b []byte)
mask_safe.go:10
Function
proxy_FromEnvironment
FromEnvironment returns the dialer specified by the proxy related variables in the environment.
x_net_proxy.go:173
Function
serveHome
(w http.ResponseWriter, r *http.Request)
examples/command/main.go:168
Function
serveHome
(w http.ResponseWriter, r *http.Request)
examples/chat/main.go:15
Function
serveHome
(w http.ResponseWriter, r *http.Request)
examples/filewatch/main.go:131
Function
serveHome
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:158
Function
serveWs
(w http.ResponseWriter, r *http.Request)
examples/command/main.go:103
Function
serveWs
(w http.ResponseWriter, r *http.Request)
examples/filewatch/main.go:113
← previous
201–256 of 256, ranked by callers