knotx icon indicating copy to clipboard operation
knotx copied to clipboard

Non-HTTP API support.

Open tomaszmichalak opened this issue 6 years ago • 0 comments

The open API is designed for HTTP-based requests. Knot.x should be adapted to support two-way communication via websites.

Describe the solution you'd like The proposition is to add a customRoutes configuration similar to the Open API one.

httpRoutingOperations = { }
customRoutes = [ ROUTE, ROUTE ]

where ROUTE would be:

{
  "path": "/eventbus/",
  "handlers": [ ... ]
}

Describe alternatives you've considered Run another Vert.x server on a different port.

Additional context Add any other context or screenshots about the feature request here.

tomaszmichalak avatar Nov 28 '18 11:11 tomaszmichalak