如何在Android上创建Quic连接?

发布于 2025-01-21 22:12:49 字数 693 浏览 2 评论 0原文

我正在Java上写一个Android应用程序。我想使用QUIC协议连接到服务器。我有什么选择?在我的搜索中显示的唯一一件事是 cronet> cronet ,,,,,,,,,,,,这是一个基于Chrome网络引擎的网络库,但您似乎并不是要创建一个Quic Connection/套接字/流并开始进行“ RAW”网络,而是包含整个HTTP/2和http/3上的Quic堆栈。除了使用HTTP之外,Android文档也没有提及其他任何内容。但是也许我只是错过了什么?

kwik 是Quic的全击Java实现,但作者似乎有点犹豫地将其称为生产准备好了,我有点担心这里的表现。此外,它尚未在Maven Central上发表。

我缺少其他选项吗?由于Google是Quic最强烈的支持者,我很惊讶这不仅仅是他们SDK的一部分。

I'm writing an Android app in Java. I want to connect to a server using the QUIC protocol. What options do I have? The only thing (almost) that shows up during my searches is Cronet, which is a networking library based on the network engine of Chrome, but it doesn't seem to be intended for you to just create a QUIC connection/socket/stream and start doing "raw" networking, but rather wraps the whole HTTP/2 and HTTP/3 over QUIC stack. The android docs also don't mention anything besides doing HTTP with it. But maybe I'm just missing something?

Kwik is a full-blown Java implementation of QUIC, but the authors seem a bit hesitant to call it production ready, and I'm a little bit worried about performance here. Also it's not published on maven central.

Any other options I've been missing? With Google being the strongest proponent of QUIC, I'm surprised this isn't just part of their SDK by now.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文