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

allow access to headers #30

Closed
cazacugmihai opened this issue Jun 27, 2016 · 4 comments
Closed

allow access to headers #30

cazacugmihai opened this issue Jun 27, 2016 · 4 comments

Comments

@cazacugmihai
Copy link

cazacugmihai commented Jun 27, 2016

Allow writing and reading headers for EventBusService.

E.g.:

EventBusService.getProxy(discovery, SomeService) { AsyncResult<SomeService> ar1 ->
    SomeService someService = ar1.result()
    // here, it will be nice to have an option to allow *sending* some headers along the "someCommand"
    someService.someMethod(someCommand) { AsyncResult<SomeResult> ar2 ->
        // do something
    }
}

interface SomeService {
    // here, it will be nice to have an option to allow *reading* headers along the "someCommand"
    void someMethod(SomeCommand someCommand, Handler<AsyncResult<SomeResult>> handler) {
        // do something
    }
}
@cazacugmihai
Copy link
Author

cazacugmihai commented Sep 1, 2016

Is this possible to be included in the next version (3.3.3)? I need it for authorization.

@cazacugmihai
Copy link
Author

+1

@cescoffier
Copy link
Member

Can you open this issue on https://github.com/vert-x3/vertx-service-proxy. It's not related to service discovery.

@cazacugmihai
Copy link
Author

Sure. You can find it here.

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

No branches or pull requests

2 participants