Home
last modified time | relevance | path

Searched refs:sameHostOriginCheck (Results 1 – 7 of 7) sorted by relevance

/dports/www/grafana8/grafana-8.3.6/vendor/github.com/centrifugal/centrifuge/
H A Dhandler_sockjs.go162 wsUpgrader.CheckOrigin = sameHostOriginCheck(n)
178 options.CheckOrigin = sameHostOriginCheck(n)
H A Dhandler_websocket.go273 upgrade.CheckOrigin = sameHostOriginCheck(n)
398 func sameHostOriginCheck(n *Node) func(r *http.Request) bool { func
H A Dhandler_websocket_test.go590 require.Equal(t, tc.success, sameHostOriginCheck(n)(r))
/dports/www/grafana8/grafana-8.3.6/pkg/services/live/pushws/
H A Dpush_pipeline.go24 c.CheckOrigin = sameHostOriginCheck()
H A Dws.go43 func sameHostOriginCheck() func(r *http.Request) bool { func
H A Dpush_stream.go26 c.CheckOrigin = sameHostOriginCheck()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/centrifugal/centrifuge/_examples/unidirectional_ws/
H A Dmain.go412 upgrade.CheckOrigin = sameHostOriginCheck()
563 func sameHostOriginCheck() func(r *http.Request) bool { func