Home
last modified time | relevance | path

Searched refs:CapConn (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/tools/http2_interop/
Dhttp2interop.go359 type CapConn struct { struct
364 func (c *CapConn) Write(data []byte) (int, error) { argument
371 func (c *CapConn) Read(data []byte) (int, error) { argument
379 func connect(ctx *HTTP2InteropCtx) (*CapConn, error) {
380 var conn *CapConn
405 func connectWithoutTls(ctx *HTTP2InteropCtx) (*CapConn, error) {
410 return &CapConn{Conn: conn}, nil
413 func connectWithTls(ctx *HTTP2InteropCtx, config *tls.Config) (*CapConn, error) {
419 return &CapConn{Conn: tls.Client(conn, config)}, nil
/external/grpc-grpc/tools/http2_interop/
Dhttp2interop.go345 type CapConn struct { struct
350 func (c *CapConn) Write(data []byte) (int, error) { argument
357 func (c *CapConn) Read(data []byte) (int, error) { argument
365 func connect(ctx *HTTP2InteropCtx) (*CapConn, error) {
366 var conn *CapConn
391 func connectWithoutTls(ctx *HTTP2InteropCtx) (*CapConn, error) {
396 return &CapConn{Conn: conn}, nil
399 func connectWithTls(ctx *HTTP2InteropCtx, config *tls.Config) (*CapConn, error) {
405 return &CapConn{Conn: tls.Client(conn, config)}, nil