MCPcopy
hub / github.com/gofiber/fiber / StatusCode

Method StatusCode

middleware/adaptor/adaptor_test.go:799–804  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

797}
798
799func (w *netHTTPResponseWriter) StatusCode() int {
800 if w.statusCode == 0 {
801 return http.StatusOK
802 }
803 return w.statusCode
804}
805
806func (w *netHTTPResponseWriter) Header() http.Header {
807 if w.h == nil {

Callers 15

testFiberToHandlerFuncFunction · 0.95
NewFunction · 0.45
Test_Cache_CustomNextFunction · 0.45
Test_CacheHeaderFunction · 0.45
Benchmark_CacheFunction · 0.45
Benchmark_Cache_MissFunction · 0.45
Benchmark_Cache_StorageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected