类:ServerHttp2Stream
¥Class: ServerHttp2Stream
-
¥Extends: <Http2Stream>
ServerHttp2Stream
类是 Http2Stream
的扩展,专门用于 HTTP/2 服务器。服务器上的 Http2Stream
实例提供了仅与服务器相关的其他方法,例如 http2stream.pushStream()
和 http2stream.respond()
。
¥The ServerHttp2Stream
class is an extension of Http2Stream
that is
used exclusively on HTTP/2 Servers. Http2Stream
instances on the server
provide additional methods such as http2stream.pushStream()
and
http2stream.respond()
that are only relevant on the server.