(interceptor ziface.IInterceptor)
| 604 | } |
| 605 | |
| 606 | func (s *Server) AddInterceptor(interceptor ziface.IInterceptor) { |
| 607 | s.msgHandler.AddInterceptor(interceptor) |
| 608 | } |
| 609 | |
| 610 | func (s *Server) SetWebsocketAuth(f func(r *http.Request) error) { |
| 611 | s.websocketAuth = f |
no test coverage detected