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

How can I enable ssl for gRPC client #55

Open
dunkan opened this issue Jul 26, 2023 · 0 comments
Open

How can I enable ssl for gRPC client #55

dunkan opened this issue Jul 26, 2023 · 0 comments

Comments

@dunkan
Copy link

dunkan commented Jul 26, 2023

In examples I see this: $client = new \OpenSwoole\GRPC\Client($domain, 443);, but ssl not enabled.
For activate ssl in docs, I see this: $client = new OpenSwoole\Coroutine\Http2\Client($domain, 443, true);,
but in code Client.php: $client = new Coroutine\Http2\Client($host, $port); without bool ssl

How can I enable ssl for gRPC client?
Maybe I must set options?

P.S. I try set option "ssl_host_name", not work

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