MCPcopy Index your code
hub / github.com/aceld/zinx / AddInterceptor

Method AddInterceptor

znet/server.go:606–608  ·  view source on GitHub ↗
(interceptor ziface.IInterceptor)

Source from the content-addressed store, hash-verified

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

Callers 2

mainFunction · 0.95
mainFunction · 0.95

Calls 1

AddInterceptorMethod · 0.65

Tested by

no test coverage detected