MCPcopy Create free account
hub / github.com/XTLS/REALITY / RatelimitedConn

Struct RatelimitedConn

tls.go:104–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104type RatelimitedConn struct {
105 net.Conn
106 After int64
107 Bucket *ratelimit.Bucket
108}
109
110func (c *RatelimitedConn) Read(b []byte) (int, error) {
111 n, err := c.Conn.Read(b)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected