MCPcopy Create free account

hub / github.com/gorilla/websocket / functions

Functions256 in github.com/gorilla/websocket

FunctionTestIsWebSocketUpgrade
(t *testing.T)
server_test.go:48
FunctionTestJSON
(t *testing.T)
json_test.go:15
FunctionTestJoinMessages
(t *testing.T)
join_test.go:14
FunctionTestMaskBytes
(t *testing.T)
mask_test.go:31
FunctionTestNetDialConnect
TestNetDialConnect tests selection of dial method between NetDial, NetDialContext, NetDialTLS or NetDialTLSContext
client_server_test.go:926
FunctionTestParseExtensions
(t *testing.T)
util_test.go:88
FunctionTestPartialJSONRead
(t *testing.T)
json_test.go:40
FunctionTestPreparedMessage
(t *testing.T)
prepared_test.go:35
FunctionTestProxyAuthorizationDial
(t *testing.T)
client_server_test.go:189
FunctionTestProxyDial
(t *testing.T)
client_server_test.go:151
FunctionTestReadLimit
(t *testing.T)
conn_test.go:465
FunctionTestRespOnBadHandshake
(t *testing.T)
client_server_test.go:528
FunctionTestSocksProxyDial
(t *testing.T)
client_server_test.go:767
FunctionTestSubprotocols
(t *testing.T)
server_test.go:29
FunctionTestTokenListContainsValue
(t *testing.T)
util_test.go:46
FunctionTestTracingDialWithContext
(t *testing.T)
client_server_test.go:846
FunctionTestTruncWriter
(t *testing.T)
compression_test.go:15
FunctionTestUnderlyingConn
(t *testing.T)
conn_test.go:565
FunctionTestUnexpectedCloseErrors
(t *testing.T)
conn_test.go:635
FunctionTestValidCompressionLevel
(t *testing.T)
compression_test.go:68
FunctionTestWriteAfterMessageWriterClose
(t *testing.T)
conn_test.go:439
FunctionTestWriteBufferPool
(t *testing.T)
conn_test.go:203
FunctionTestWriteBufferPoolError
TestWriteBufferPoolError ensures that buffer is returned to pool after error on write.
conn_test.go:309
FunctionTestWriteBufferPoolSync
TestWriteBufferPoolSync ensures that *sync.Pool works as a buffer pool.
conn_test.go:281
FunctionTestX
TestX prevents godoc from showing this entire file in the example. Remove this function when a second example is added.
example_test.go:45
FunctionUpgrade
Upgrade upgrades the HTTP server connection to the WebSocket protocol. Deprecated: Use websocket.Upgrader instead. Upgrade does not perform origin c
server.go:297
MethodWrite
(p []byte)
conn_test.go:648
MethodWrite
(p []byte)
client_server_test.go:355
MethodWrite
(p []byte)
compression.go:98
MethodWrite
(p []byte)
prepared.go:101
FunctioncompressNoContextTakeover
(w io.WriteCloser, level int)
compression.go:44
FunctiondecompressNoContextTakeover
(r io.Reader)
compression.go:28
FunctiondoHandshake
(ctx context.Context, tlsConn *tls.Conn, cfg *tls.Config)
tls_handshake_116.go:11
Functionecho
use default options
examples/echo/server.go:23
FunctionechoCopyFull
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:82
FunctionechoCopyWriterOnly
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:78
FunctionechoReadAllWriteMessage
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:150
FunctionechoReadAllWritePreparedMessage
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:154
FunctionechoReadAllWriter
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:146
Functionhome
(w http.ResponseWriter, r *http.Request)
examples/echo/server.go:45
Functioninit
()
proxy.go:23
Methodinit
()
x_net_proxy.go:264
Functionmain
()
examples/command/main.go:180
Functionmain
()
examples/echo/server.go:49
Functionmain
()
examples/echo/client.go:23
Functionmain
()
examples/chat/main.go:28
Functionmain
()
examples/filewatch/main.go:158
Functionmain
()
examples/autobahn/server.go:173
FunctionmaskBytes
(key [4]byte, pos int, b []byte)
mask_safe.go:10
Functionproxy_FromEnvironment
FromEnvironment returns the dialer specified by the proxy related variables in the environment.
x_net_proxy.go:173
FunctionserveHome
(w http.ResponseWriter, r *http.Request)
examples/command/main.go:168
FunctionserveHome
(w http.ResponseWriter, r *http.Request)
examples/chat/main.go:15
FunctionserveHome
(w http.ResponseWriter, r *http.Request)
examples/filewatch/main.go:131
FunctionserveHome
(w http.ResponseWriter, r *http.Request)
examples/autobahn/server.go:158
FunctionserveWs
(w http.ResponseWriter, r *http.Request)
examples/command/main.go:103
FunctionserveWs
(w http.ResponseWriter, r *http.Request)
examples/filewatch/main.go:113
← previous201–256 of 256, ranked by callers