Comments (6)
I was thinking of removing the eventbusbridgehook. Can you explain your use case and why it is useful to you?
from vertx-web.
I am still within the design phase of my project, but here are some ideas I thought could be implemented by a hook:
a) Check the country of the client and reject them based on a ip->country mapping service
b) Prevent too many requests of a client within a time-frame by counting requests by sessionId (apexSession?)
c) Collect some statistics about the client browser agent
from vertx-web.
I think all of those should be doable using standard Apex handlers?
from vertx-web.
Yes, you are right. The RoutingContext has everything inside which is need for implementing that. Today I discovered "routingContext.next()" in the apex docs. It seems that apex handles can be chained this way? Anyway, I do agree removing the hook.
from vertx-web.
OK, let me know how it goes :)
from vertx-web.
Well, I can't use standard Apex handlers to count incoming websocket frames. The standard handlers will not be invoked for websocket communication happening after the protocol upgrade.
What I need is some interceptor that gets invoked on every incoming frame.
from vertx-web.
Related Issues (20)
- How to upgrade Snakeyaml to 2.0 in vertx 4.x? HOT 1
- When the WebSocket connection is closed, the registrations is not clear! HOT 3
- CSRF Handler can "trap" users HOT 7
- BodyHandler: document setDeleteUploadedFilesOnEnd HOT 2
- FileUpload API improvements
- BodyHandler default body limit change HOT 1
- Vertx Web Validation circular refs tests are failing
- fail() in RoutingContextImpl constructor causes "Unhandled exception in router" even if error was handled
- converting routing context request to web socket returns text handler id as null. HOT 1
- ForwardedParser parse XFF IPV6. HOT 4
- sqlConnection.updateWithParams HOT 1
- VertxRest HOT 1
- Investigate if Vertx WebClient can support HTTP proxy server proxying HTTPS requests HOT 1
- Add webUser() method to io.vertx.ext.web.handler.graphql.ws.Message HOT 2
- vertx-web-graphql subscription onError() is not returning a payload of an array of GraphQLErrors HOT 1
- `BodyHandler` with `deleteUploadedFilesOnEnd=true` fail to clean temporary file HOT 1
- GraphQLWS: store the RoutingContext in GraphQLContext HOT 1
- Deprecate GraphQLHandler#getRoutingContext HOT 1
- Support request forwarding to Web API Service with new OpenAPI Router
- Handling close connection with GraphQLWSHandler HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vertx-web.