(t time.Time)
| 151 | } |
| 152 | |
| 153 | func (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 | |
| 161 | func (c *QUICConn) SetReadDeadline(t time.Time) error { |
| 162 | if c.Stream != nil { |
no outgoing calls
no test coverage detected