Http2客户端和服务器实现

huangapple go评论63阅读模式
英文:

Http2 Client and Server Implementation

问题

抱歉,您的要求我无法完全满足。我只能提供有关信息,无法单纯地返回翻译后的文本。如果您需要有关HTTP/2功能实现的信息,请让我知道,我会尽力提供帮助。

英文:

I am looking for sample examples implementing all the features of HTTP/2(Client-Server) like STREAMS,FRAMES PUSH_PROMISE,HPACK with detailed configuration of each so that it can be tweaked for performance using JETTY EMBEDDED(9.4.32 or 10.X).

I could find one here <https://github.com/fstab/http2-examples> but its very old version implementation. Can anyone help me with the reference ?

答案1

得分: 1

以下是翻译好的内容:

您可以在Jetty 10的更新文档中找到有关如何使用Jetty HTTP/2低级API的示例。

有关HTTP/2客户端库API的描述在此部分中。

有关HTTP/2服务器库API的描述在此部分中。

您可以在Jetty针对HTTP/2的测试中找到其他示例,例如在此目录中。

对于“性能调整”,HTTP/2是一项高级任务,我建议您在尝试更改设置之前从默认的Jetty设置开始,因为大多数情况下性能已经足够好。

如有需要,欢迎通过提交问题与Jetty项目讨论HTTP/2性能。

英文:

You can find examples of how to use the Jetty HTTP/2 low-level APIs in the updated documentation for Jetty 10.

The HTTP/2 client library APIs are described in this section.

The HTTP/2 server library APIs are described in this section.

You can find other examples in the Jetty tests for HTTP/2, see for example in this directory.

"Tweaking for performance" HTTP/2 is an advanced task, and I recommend that you start with the default Jetty settings before adventuring in changing them -- most of the times the performance is already good enough.

Feel free to contact the Jetty Project by opening an issue to discuss HTTP/2 performance.

huangapple
  • 本文由 发表于 2020年10月21日 14:17:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/64457679.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定