MCPcopy
hub / github.com/gin-gonic/gin / requestHeader

Method requestHeader

context.go:1050–1052  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

1048}
1049
1050func (c *Context) requestHeader(key string) string {
1051 return c.Request.Header.Get(key)
1052}
1053
1054/************************************/
1055/******** RESPONSE RENDERING ********/

Callers 7

ClientIPMethod · 0.95
ContentTypeMethod · 0.95
IsWebsocketMethod · 0.95
GetHeaderMethod · 0.95
NegotiateFormatMethod · 0.95
BasicAuthForRealmFunction · 0.80
BasicAuthForProxyFunction · 0.80

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected