MCPcopy Create free account
hub / github.com/caddyserver/caddy / getHTTP3Network

Function getHTTP3Network

modules/caddyhttp/server.go:1241–1247  ·  view source on GitHub ↗
(originalNetwork string)

Source from the content-addressed store, hash-verified

1239}
1240
1241func getHTTP3Network(originalNetwork string) (string, error) {
1242 h3Network, ok := networkTypesHTTP3[strings.ToLower(originalNetwork)]
1243 if !ok {
1244 return "", fmt.Errorf("network '%s' cannot handle HTTP/3 connections", originalNetwork)
1245 }
1246 return h3Network, nil
1247}

Callers 1

serveHTTP3Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…