Versions in this module Expand all Collapse all v0 v0.33.12 Dec 26, 2025 Changes in this version + type Http3Server struct + func NewHttp3Server(httpsSrv *HttpsServer, udpConn net.PacketConn) *Http3Server + func (s *Http3Server) Close() error + func (s *Http3Server) GetConfigForClient(info *tls.ClientHelloInfo) (*tls.Config, error) + func (s *Http3Server) HandleQUIC(qc *quic.Conn, alpn, sni string) + func (s *Http3Server) Start() error + type HttpProxy struct + Acme *certmagic.ACMEIssuer + AddOrigin bool + ErrorAlways bool + ForceAutoSsl bool + Http3Bridge bool + Http3Port int + Http3PortStr string + Http3Server *Http3Server + HttpOnlyPass string + HttpPort int + HttpPortStr string + HttpProxyCache *index.AnyIntIndex + HttpServer *HttpServer + HttpsPort int + HttpsPortStr string + HttpsServer *HttpsServer + Magic *certmagic.Config + func NewHttpProxy(bridge proxy.NetBridge, task *file.Tunnel, httpPort, httpsPort, http3Port int, ...) *HttpProxy + func (s *HttpProxy) ChangeHostAndHeader(r *http.Request, host string, header string, httpOnly bool) + func (s *HttpProxy) ChangeRedirectURL(r *http.Request, url string) string + func (s *HttpProxy) ChangeResponseHeader(resp *http.Response, header string) + func (s *HttpProxy) Close() error + func (s *HttpProxy) Start() error + type HttpServer struct + func NewHttpServer(httpProxy *HttpProxy, l net.Listener) *HttpServer + func (s *HttpServer) Close() error + func (s *HttpServer) DialContext(ctx context.Context, network, addr string) (net.Conn, error) + func (s *HttpServer) DialTlsContext(ctx context.Context, network, addr string) (net.Conn, error) + func (s *HttpServer) NewServer(port int, scheme string) *http.Server + func (s *HttpServer) Start() error + type HttpsListener struct + func NewHttpsListener(l net.Listener) *HttpsListener + func (l *HttpsListener) Accept() (net.Conn, error) + func (l *HttpsListener) Addr() net.Addr + func (l *HttpsListener) Close() error + type HttpsServer struct + func NewHttpsServer(httpServer *HttpServer, l net.Listener) *HttpsServer + func (s *HttpsServer) Close() error + func (s *HttpsServer) Start() error