MCPcopy
hub / github.com/gorilla/websocket / Write

Method Write

client_server_test.go:566–569  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

564}
565
566func (w testLogWriter) Write(p []byte) (int, error) {
567 w.t.Logf("%s", p)
568 return len(p), nil
569}
570
571// TestHost tests handling of host names and confirms that it matches net/http.
572func TestHost(t *testing.T) {

Callers 2

WriteMethod · 0.45
TestSocksProxyDialFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected