温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/http2/Http2Session/socket
点击访问原文链接

property socket | Node.js http2 module | Bun

property socket | Node.js http2 module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but limits available methods to ones safe to use with HTTP/2. `destroy`, `emit`, `end`, `pause`, `read`, `resume`, and `write` will throw an error with code `ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for more information. `setTimeout` method will be called on this `Http2Session`. All other interactions will be routed directly to the socket.