MCPcopy Index your code
hub / github.com/aws/aws-lambda-go / WriteHeader

Method WriteHeader

lambdaurl/http_handler.go:68–70  ·  view source on GitHub ↗
(statusCode int)

Source from the content-addressed store, hash-verified

66}
67
68func (w *httpResponseWriter) WriteHeader(statusCode int) {
69 w.writeHeader(statusCode, nil)
70}
71
72func (w *httpResponseWriter) writeHeader(statusCode int, initialPayload []byte) {
73 w.once.Do(func() {

Callers 5

runtimeAPIServerFunction · 0.80
TestClientNextFunction · 0.80
TestClientDoneAndErrorFunction · 0.80
TestStatusCodesFunction · 0.80
TestWrapFunction · 0.80

Calls 1

writeHeaderMethod · 0.95

Tested by 5

runtimeAPIServerFunction · 0.64
TestClientNextFunction · 0.64
TestClientDoneAndErrorFunction · 0.64
TestStatusCodesFunction · 0.64
TestWrapFunction · 0.64