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

Add convenient gRPC Config constructors #293

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

antas-marcin
Copy link
Collaborator

No description provided.

public Config(String scheme, String host, Map<String, String> headers) {
this(scheme, host, headers, DEFAULT_TIMEOUT_SECONDS, DEFAULT_TIMEOUT_SECONDS, DEFAULT_TIMEOUT_SECONDS);
}

public Config(String scheme, String host, boolean gRPCSecured, String gRPCHost, Map<String, String> headers) {
this(scheme, host, null, DEFAULT_TIMEOUT_SECONDS, gRPCSecured, gRPCHost);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

headers do not seem to be used

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, thank you for pointing this, will fix it asap

@antas-marcin antas-marcin force-pushed the add-grpc-convenient-config-constructors branch from f3c9085 to e2e6d8b Compare July 24, 2024 10:32
@antas-marcin antas-marcin merged commit 1547278 into main Jul 24, 2024
1 check passed
@antas-marcin antas-marcin deleted the add-grpc-convenient-config-constructors branch July 24, 2024 11:07
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

Successfully merging this pull request may close these issues.

2 participants