Websocket Hijack


Hijack websocket

To use all the available interfaces in the net/http packages, disable the LogRequests option:

router := violetear.New()
router.LogRequests = false

The reasons for this is that when using LogRequests a custom responseWriter is used and it doesn’t extend to all available interfaces in the net/http package.

comments powered by Disqus