Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-HTTP API support. #472

Open
tomaszmichalak opened this issue Nov 28, 2018 · 0 comments
Open

Non-HTTP API support. #472

tomaszmichalak opened this issue Nov 28, 2018 · 0 comments

Comments

@tomaszmichalak
Copy link
Member

tomaszmichalak commented Nov 28, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants