# Packages
No description provided by the author
# Functions
AsURL expands :port and hostname to http://localhost:port & http://hostname respectively.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExtractPort returns the :port part from host[:port]
An empty string is returned if no port is found.
ExtractURLPort returns the :port part from URL.Host (host[:port])
An empty string is returned if no port is found or input is nil.
No description provided by the author
No description provided by the author
Graft returns Host(base):Port(alt)
assuming - base is host[:port] - alt is [host]:port.
No description provided by the author
Print Hyperlink via OSC 8 ansi sequence.
InterceptMiddleware prints request & response info to stdout.
No description provided by the author
VSCode web edition makes cors request to /hub/api endpoint in order to determine if the backend api is a JupyterHub or JupyterLab/JupyterServer
If the Access-Control-Allow-Origin header is absent, the request will not make through.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MaybeHyperlink turns input into ANSI hyperlink when stdin is a tty.
No description provided by the author
ParseDomainCandidates splits a path string like /a/b/cd/😏 into a list of subdomains: [a, b, cd, 😏]
when result is empty, a random subdomain will be assigned by the server.
No description provided by the author
ReverseProxy
- upstream: http://user:[email protected] behavior: use upstream credential by default - upstream: http://example.com behavior: passthrough client credential if any - upstream: http://[email protected] behavior: don't pass any credential to upstream.
No description provided by the author
No description provided by the author
ToIdna converts a string to its idna form at best effort Should only be used on the hostname part without port.
TransparentProxy is a reverse proxy that preserves the original Host header.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author