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

Method SetReadDeadline

client_server_test.go:345–348  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

343}
344
345func (c *requireDeadlineNetConn) SetReadDeadline(t time.Time) error {
346 c.readDeadlineIsSet = !t.Equal(time.Time{})
347 return c.c.SetDeadline(t)
348}
349
350func (c *requireDeadlineNetConn) SetWriteDeadline(t time.Time) error {
351 c.writeDeadlineIsSet = !t.Equal(time.Time{})

Callers 1

sendRecvFunction · 0.45

Calls 1

SetDeadlineMethod · 0.45

Tested by

no test coverage detected