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

Method WriteHeader

testutil/websocket.go:98–101  ·  view source on GitHub ↗
(statusCode int)

Source from the content-addressed store, hash-verified

96}
97
98func (rw *inMemWebsocketResponseWriter) WriteHeader(statusCode int) {
99 rw.r.StatusCode = statusCode
100 close(rw.gotHeaders)
101}

Callers 4

CreateTarFunction · 0.45
serveHTTPDebugMethod · 0.45
RouterMethod · 0.45
RunDERPOnlyWebSocketsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected