MCPcopy
hub / github.com/txthinking/brook / SetDeadline

Method SetDeadline

quic.go:153–159  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

151}
152
153func (c *QUICConn) SetDeadline(t time.Time) error {
154 if c.Stream != nil {
155 return c.Stream.SetDeadline(t)
156 }
157 // prefer quic.Config.MaxIdleTimeout
158 return nil
159}
160
161func (c *QUICConn) SetReadDeadline(t time.Time) error {
162 if c.Stream != nil {

Callers 15

TCPHandleMethod · 0.45
ExchangeMethod · 0.45
ExchangeMethod · 0.45
ExchangeMethod · 0.45
NewStreamServerFunction · 0.45
ExchangeMethod · 0.45
WebSocketDialFunction · 0.45
NewStreamClientFunction · 0.45
ExchangeMethod · 0.45
TCPHandleMethod · 0.45
UDPHandleMethod · 0.45
ListenAndServeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected