MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Redirect

Method Redirect

internal/nodes/http_writer.go:918–921  ·  view source on GitHub ↗

Redirect 跳转

(status int, url string)

Source from the content-addressed store, hash-verified

916
917// Redirect 跳转
918func (this *HTTPWriter) Redirect(status int, url string) {
919 httpRedirect(this, this.req.RawReq, url, status)
920 this.isFinished = true
921}
922
923// StatusCode 读取状态码
924func (this *HTTPWriter) StatusCode() int {

Callers 10

httpRedirectFunction · 0.80
PerformMethod · 0.80
PerformMethod · 0.80
PerformMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80
showMethod · 0.80
validateOneClickFormMethod · 0.80
validateSlideFormMethod · 0.80

Calls 1

httpRedirectFunction · 0.85

Tested by

no test coverage detected