MCPcopy
hub / github.com/tinode/chat / isProxy

Method isProxy

server/session.go:243–245  ·  view source on GitHub ↗

Indicates whether this session is a short-lived proxy for a remote session.

()

Source from the content-addressed store, hash-verified

241
242// Indicates whether this session is a short-lived proxy for a remote session.
243func (s *Session) isProxy() bool {
244 return s.proto == PROXY
245}
246
247// Cluster session: either a proxy or a multiplexing session.
248func (s *Session) isCluster() bool {

Callers 4

isClusterMethod · 0.95
callPartySessionFunction · 0.80
unregisterSessionMethod · 0.80
handleLeaveRequestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected