RequestHandler defines the interface for handling specific websocket request types
| 25 | |
| 26 | // RequestHandler defines the interface for handling specific websocket request types |
| 27 | type RequestHandler interface { |
| 28 | // Handle processes the request and returns an error if unsuccessful |
| 29 | Handle(hctx *HandlerContext) error |
| 30 | } |
| 31 | |
| 32 | // Responder sends handler responses back to the hub (over WS or SSH) |
| 33 | type Responder interface { |
no outgoing calls
no test coverage detected