Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking for ability to set HTTP proxy #191

Open
tsmith023 opened this issue May 21, 2024 · 0 comments
Open

Looking for ability to set HTTP proxy #191

tsmith023 opened this issue May 21, 2024 · 0 comments

Comments

@tsmith023
Copy link

I'm in the process of migrating from grpcio to grpclib due to the superior async support offered by grpclib

The grpcio API has the capability of specifying options to the underlying channel, specifically the grpc.http_proxy option that allows to perform transport proxying of the gRPC request. Using grpcio syntax this would look like:

grpc.aio.secure_channel(
    target=GRPC_TARGET,
    options=[("grpc.http_proxy", "some-proxy:50051")]
)

with the grpc.http_proxy piped into the C implementation here where it is consumed by this method

I have some questions about this use-case with grpclib:

  1. Is it supported at all? I cannot find any documentation on this neither on readthedocs nor in the GH issues
  2. If not, is it something that is planned for development?
  3. If not, is it something that can be readily implemented?
  4. If yes, is it something that I could pick up and implement?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant