MCPcopy Index your code
hub / github.com/keploy/keploy / GetSession

Method GetSession

pkg/agent/proxy/proxy.go:788–790  ·  view source on GitHub ↗

GetSession returns the current session in a thread-safe manner (exported for enterprise).

()

Source from the content-addressed store, hash-verified

786
787// GetSession returns the current session in a thread-safe manner (exported for enterprise).
788func (p *Proxy) GetSession() *agent.Session {
789 return p.getSession()
790}
791
792// SetSessionResolver installs a per-TGID session resolver. Pass nil to
793// revert to single-session mode. Multi-app composers (the enterprise

Callers

nothing calls this directly

Implementers 1

Proxypkg/agent/proxy/proxy.go

Calls 1

getSessionMethod · 0.95

Tested by

no test coverage detected