MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / ConnectionState

Method ConnectionState

internal/api/buffered_conn.go:24–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24func (c *bufferedConn) ConnectionState() tls.ConnectionState {
25 if c == nil || c.Conn == nil {
26 return tls.ConnectionState{}
27 }
28 if stater, ok := c.Conn.(interface{ ConnectionState() tls.ConnectionState }); ok {
29 return stater.ConnectionState()
30 }
31 return tls.ConnectionState{}
32}

Callers 1

routeMuxConnectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected