Skip to content

fix: allow specifying protocol in the endpoint - #151

Merged
nimf merged 1 commit into
masterfrom
endpoint-url
Oct 25, 2022
Merged

nimf merged 1 commit into
masterfrom
endpoint-url

Conversation

@nimf

@nimf nimf commented Oct 24, 2022

Copy link
Copy Markdown
Collaborator

No description provided.

@nimf
nimf requested a review from mohanli-ml October 24, 2022 23:12

private ManagedChannelBuilder<?> channelBuilderForEndpoint(String endpoint) {
String serviceAddress;
// Assume https by default.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the schema is not http2?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The schema here is used just to determine the port if it is not specified. We will not pass the schema further.

@nimf
nimf merged commit f47d674 into master Oct 25, 2022
@nimf
nimf deleted the endpoint-url branch October 25, 2022 00:17
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