MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / GetUserAgent

Function GetUserAgent

internal/utils/request_info.go:19–21  ·  view source on GitHub ↗

GetUserAgent helps in getting the user agent from the request

(r *http.Request)

Source from the content-addressed store, hash-verified

17
18// GetUserAgent helps in getting the user agent from the request
19func GetUserAgent(r *http.Request) string {
20 return r.UserAgent()
21}

Callers 7

MetaFromGinFunction · 0.92
VerifyEmailHandlerMethod · 0.92
LogoutHandlerMethod · 0.92
OAuthCallbackHandlerMethod · 0.92
TokenHandlerMethod · 0.92
OAuthLoginHandlerMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected