[go: nahoru, domu]

tree: a034735f106ac0f6e40e33ba61e47b0a514bfc03 [path history] [tgz]
  1. include/
  2. test/
  3. bidirectional_stream.cc
  4. bidirectional_stream.h
  5. bidirectional_stream_c.cc
  6. bidirectional_stream_unittest.cc
  7. BUILD.gn
  8. DEPS
  9. DIR_METADATA
  10. OWNERS
  11. README.md
components/grpc_support/README.md

gRPC Support

This directory contains the interface and implementation of the API to use an external network stack from gRPC. The implementation is essentially a thin wrapper around net::BidirectionalStream. The API specifies that the caller to gRPC will pass in an opaque binary blob (stream_engine) that can be used to created binary streams. In Chromium, this binary blob is a net::URLRequestContextGetter, which is used by grpc_support::BidirectionalStream to drive a net::BidirectionalStream.

Eventually code inside of Chromium should be able to use gRPC by providing a net::URLRequestContextGetter.