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

Method StatusCode

internal/nodes/http_writer.go:924–929  ·  view source on GitHub ↗

StatusCode 读取状态码

()

Source from the content-addressed store, hash-verified

922
923// StatusCode 读取状态码
924func (this *HTTPWriter) StatusCode() int {
925 if this.statusCode == 0 {
926 return http.StatusOK
927 }
928 return this.statusCode
929}
930
931// HeaderData 读取Header二进制数据
932func (this *HTTPWriter) HeaderData() []byte {

Callers 7

PrepareCacheMethod · 0.95
PrepareCompressionMethod · 0.95
finishWebPMethod · 0.95
finishCacheMethod · 0.95
FormatMethod · 0.45
doAuthMethod · 0.45
logMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected