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

Method requestRemoteUser

internal/nodes/http_request.go:1351–1357  ·  view source on GitHub ↗

请求用户

()

Source from the content-addressed store, hash-verified

1349
1350// 请求用户
1351func (this *HTTPRequest) requestRemoteUser() string {
1352 username, _, ok := this.RawReq.BasicAuth()
1353 if !ok {
1354 return ""
1355 }
1356 return username
1357}
1358
1359// Path 请求的URL中路径部分
1360func (this *HTTPRequest) Path() string {

Callers 2

FormatMethod · 0.95
logMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected