Searched refs:CapConn (Results 1 – 1 of 1) sorted by relevance
345 type CapConn struct { struct350 func (c *CapConn) Write(data []byte) (int, error) { argument357 func (c *CapConn) Read(data []byte) (int, error) { argument365 func connect(ctx *HTTP2InteropCtx) (*CapConn, error) {366 var conn *CapConn391 func connectWithoutTls(ctx *HTTP2InteropCtx) (*CapConn, error) {396 return &CapConn{Conn: conn}, nil399 func connectWithTls(ctx *HTTP2InteropCtx, config *tls.Config) (*CapConn, error) {405 return &CapConn{Conn: tls.Client(conn, config)}, nil