Skip to main content
Module

x/masx200_deno_serve_https/ConnInfo.ts

deno-serve-https 对于deno的低级api的封装,可以启动同时支持http/1.1和http/2的https服务,并且在一个端口上同时支持了http连接升级,websocket,connect方法.
Go to Latest
File
export type ConnInfo = Readonly<{ /** The local address of the connection. */ readonly localAddr: Deno.Addr; /** The remote address of the connection. */ readonly remoteAddr: Deno.Addr; alpnProtocol: string | null;}>;