HiJack is a shortcut for router.HiJack(path, handle)
(path string, handle HttpHandle)
| 372 | |
| 373 | // HiJack is a shortcut for router.HiJack(path, handle) |
| 374 | func (server *HttpServer) HiJack(path string, handle HttpHandle) { |
| 375 | server.Router().HiJack(path, handle) |
| 376 | } |
| 377 | |
| 378 | // WebSocket is a shortcut for router.WebSocket(path, handle) |
| 379 | func (server *HttpServer) WebSocket(path string, handle HttpHandle) { |