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

Any plan to send the request to HTTP server? #1

Open
cangxingzhe opened this issue Dec 1, 2021 · 3 comments
Open

Any plan to send the request to HTTP server? #1

cangxingzhe opened this issue Dec 1, 2021 · 3 comments

Comments

@cangxingzhe
Copy link

Wow, I am very excited to see this project. I read the source code. There is a doubt: the routing-http-brige currently uses the RSocket client to send requests by resolving urls to route and service. It cannot send request to HTTP server. What's the plan after that?

@OlgaMaciaszek
Copy link
Collaborator

OlgaMaciaszek commented Jan 31, 2022

Hello, @cangxingzhe you mean for the request to originate from RSocket client, be mapped to HTTP request, sent to HTTP server and then the response mapped back to RSocket?

@filipeamaral
Copy link

filipeamaral commented Feb 8, 2022

Trying not to duplicate issues, may I ask if it's being considered the support for the reverse scenario @OlgaMaciaszek:

┌────────┐   HTTP    ┌─────────┐  RSOCKET  ┌─────────┐
│        ├──────────►│         ├──────────►│         │
│ CLIENT │           │ GATEWAY │           │ SERVICE │
│        │◄──────────┤         │◄──────────┤         │
└────────┘   HTTP    └─────────┘  RSOCKET  └─────────┘

Or is this the exact purpose of this rsocket-broker-http-bridge?

@OlgaMaciaszek
Copy link
Collaborator

@filipeamaral it currently works as you've depicted (thanks for the nice diagram, btw. :)). I guess the issue request is about doing something like this:

┌────────┐   RSOCKET    ┌─────────┐  HTTP  ┌─────────┐
│        ├──────────►│         ├──────────►│         │
│ RSocket CLIENT │           │  BRIDGE │           │HTTP SERVICE │
│        │◄──────────┤         │◄──────────┤         │
└────────┘   RSOCKET    └─────────┘  HTTP  └─────────┘

Is this right @cangxingzhe ?

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

3 participants