MCPcopy Index your code
hub / github.com/coder/coder / WriteHeader

Method WriteHeader

coderd/httpapi/noop.go:10–10  ·  view source on GitHub ↗
(int)

Source from the content-addressed store, hash-verified

8func (NoopResponseWriter) Header() http.Header { return http.Header{} }
9func (NoopResponseWriter) Write(p []byte) (int, error) { return len(p), nil }
10func (NoopResponseWriter) WriteHeader(int) {}

Callers 15

deleteUserSecretMethod · 0.45
TestExternalAuthDeviceFunction · 0.45
TestExternalAuthCallbackFunction · 0.45
NewFunction · 0.45
fileByIDMethod · 0.45
putUserPasswordMethod · 0.45
formatHealthcheckFunction · 0.45
debugCollectProfileMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestExternalAuthDeviceFunction · 0.36
TestExternalAuthCallbackFunction · 0.36
TestTasksFunction · 0.36
TestStripSlashesMWFunction · 0.36
TestCSRFErrorFunction · 0.36
TestAPIKeyFunction · 0.36
TestOrganizationParamFunction · 0.36