GRPC::Transport::Http2Connection
Http2Connection wraps an nghttp2 session over any IO (plain TCP or TLS). Subclasses implement server-specific or client-specific logic.
Constants
RECV_BUFFER_SIZE = 65536
Constructors
Instance methods
close
Sourceclosed?
Sourceon_header_cb(frame : Pointer(Void), name : Pointer(UInt8), nlen : LibC::SizeT, value : Pointer(UInt8), vlen : LibC::SizeT) : Nil
Sourcerun_recv_loop
run_recv_loop reads from the socket and feeds data to nghttp2. Runs until the connection closes.