MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / requestScheme

Method requestScheme

internal/nodes/http_request.go:1460–1465  ·  view source on GitHub ↗

请求的scheme

()

Source from the content-addressed store, hash-verified

1458
1459// 请求的scheme
1460func (this *HTTPRequest) requestScheme() string {
1461 if this.IsHTTPS {
1462 return "https"
1463 }
1464 return "http"
1465}
1466
1467// 请求的服务器地址中的端口
1468func (this *HTTPRequest) requestServerPort() int {

Callers 4

URLMethod · 0.95
setForwardHeadersMethod · 0.95
doHostRedirectMethod · 0.95
logMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected