getElicitationHandler returns the currently registered elicitation handler, or nil.
()
| 922 | |
| 923 | // getElicitationHandler returns the currently registered elicitation handler, or nil. |
| 924 | func (s *Session) getElicitationHandler() ElicitationHandler { |
| 925 | s.elicitationMu.RLock() |
| 926 | defer s.elicitationMu.RUnlock() |
| 927 | return s.elicitationHandler |
| 928 | } |
| 929 | |
| 930 | func (s *Session) registerMCPAuthHandler(handler MCPAuthHandler) { |
| 931 | s.mcpAuthMu.Lock() |
no outgoing calls