alibaba / yalantinglibs

A collection of modern C++ libraries, include coro_rpc, struct_pack, struct_json, struct_xml, struct_pb, easylog, async_simple
https://alibaba.github.io/yalantinglibs/
Apache License 2.0
1.5k stars 236 forks source link

Could http2 be supported? #790

Open tsurumi-yizhou opened 1 week ago

tsurumi-yizhou commented 1 week ago

Search before asking

What happened + What you expected to happen

I hope to use http2 as transport in coro_http.server, and find nothing in doc and issues. Did it be supported? If not, could it be supported?

Reproduction way

Add a layer for transport in cinatra.

Anything else

Are you willing to submit a PR?

qicosmos commented 1 week ago

not support http2 yet, welcome to contribute a pr to support http2.

tsurumi-yizhou commented 6 days ago

not support http2 yet, welcome to contribute a pr to support http2.

i think one more abstract layer is necessary

qicosmos commented 6 days ago

可以说说你的想法,我们可以讨论出一个方案来。

qicosmos commented 6 days ago

先确定方案,然后就可以让社区的更多人参与进来,开源共建http2。