-
Notifications
You must be signed in to change notification settings - Fork 160
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
feat: Improve RPC communication based on HTTP/2 #403
base: dubbo3
Are you sure you want to change the base?
Conversation
|
||
const transport = createDubboTransport({ | ||
baseUrl: "http://localhost:8080", | ||
httpVersion: "1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
“1.1” 这里是不是写错了诶
|
||
## <span id="accessService">访问服务</span> | ||
|
||
最简单方式是使用 HTTP/1.1 POST 请求访问服务,参数则作以标准 JSON 格式作为 HTTP 负载传递。如下是使用 cURL 命令的访问示例: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
还有这里 “1.1”
这个是怎么自测的诶,有写单元测试吗 |
这个自测单元没写,example例子实现了一下 |
感觉单测还是有必要的吧,比如没带 serviceVersion 和 serviceGroup,或者只带了其中一个参数,或者请求失败场景啥的 |
OK,那我找个时间把这个单测整一下,我看看怎么去单测一下。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider whether you need to add multiple test cases, such as when serviceVersion is missing, serviceGroup is missing, or both are missing.
Quality Gate failedFailed conditions |
fix: #362
The initial version of the HTTP/2 code can be improved gradually.