Jan Tattermusch fe2242e603 Revert "Unify boringssl submodules and use non-developer boringssl cmake build" 6 yıl önce
..
GRPCClient 6feae07504 Regenerate projects 6 yıl önce
ProtoRPC 9ec763a800 Add doc to notice that users should not reuse GRPCUnaryResponseHandler 6 yıl önce
RxLibrary ccc5481ff0 fix typo in document 6 yıl önce
examples c34bef4ca4 Format all Bazel files with buildifier 6 yıl önce
manual_tests 732f55ac22 iOS UI test: fix path to generated code 6 yıl önce
tests 6feae07504 Regenerate projects 6 yıl önce
!ProtoCompiler-gRPCCppPlugin.podspec b67a7ef020 update ObjC podspecs to 3.11.2 6 yıl önce
!ProtoCompiler-gRPCPlugin.podspec b67a7ef020 update ObjC podspecs to 3.11.2 6 yıl önce
!ProtoCompiler.podspec b67a7ef020 update ObjC podspecs to 3.11.2 6 yıl önce
BUILD c34bef4ca4 Format all Bazel files with buildifier 6 yıl önce
BoringSSL-GRPC.podspec fe2242e603 Revert "Unify boringssl submodules and use non-developer boringssl cmake build" 6 yıl önce
CronetFramework.podspec 807eaa465a iOS performance test enhancements 6 yıl önce
NetworkTransitionBehavior.md 5d4bb063e1 Fix grammar 7 yıl önce
README-CFSTREAM.md 56d09be51d Update CFStream doc 6 yıl önce
README.md e8d6d47854 Update README for #16821 7 yıl önce
change-comments.py e52081f903 More pythons to be formatted 6 yıl önce
format-all-comments.sh 7897ae9308 auto-fix most of licenses 8 yıl önce
grpc_objc_internal_library.bzl c34bef4ca4 Format all Bazel files with buildifier 6 yıl önce
grpc_shadow_boringssl_symbol_list fe2242e603 Revert "Unify boringssl submodules and use non-developer boringssl cmake build" 6 yıl önce

README-CFSTREAM.md

Cocoapods

gRPC Objective-C with CFStream

gRPC Objective-C library now provides the option to use Apple's CFStream API (rather than TCP sockets) for networking. Using CFStream resolves a bunch of network connectivity transition issues (see the doc for more information).

CFStream integration is now in experimental state. You will need explicit opt-in to use it to get the benefits of resolving the issues above. We expect to make CFStream the default networking interface that gRPC uses when it is ready for production.

As of v1.21.0, CFStream integration is now the default networking stack being used by gRPC Objective-C on iOS layer. You get to use it automatically without special configuration needed. See below on how to disable CFStream in case of problem.

Usage

If you use gRPC Objective-C library on iOS, CFStream is on automatically. If you use it on other platforms, you can turn it on with macro GRPC_CFSTREAM=1 for the pod 'gRPC-Core' and 'gRPC'. In case of problem and you want to disable CFStream on iOS, you can set environment variable "grpc_cfstream=0".

Notes

  • Currently we do not support platforms other than iOS, although it is likely that this integration can run on MacOS targets with Apple's compiler.
  • Let us know if you meet any issue by filing issue and ping @muxi.