MCPcopy Index your code
hub / github.com/ContentSquare/chproxy / getSessionId

Function getSessionId

utils.go:50–54  ·  view source on GitHub ↗

getSessionId retrieves session id

(req *http.Request)

Source from the content-addressed store, hash-verified

48
49// getSessionId retrieves session id
50func getSessionId(req *http.Request) string {
51 params := req.URL.Query()
52 sessionId := params.Get("session_id")
53 return sessionId
54}
55
56// getSessionId retrieves session id
57func getSessionTimeout(req *http.Request) int {

Callers 1

getScopeMethod · 0.85

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected