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

response with request #58

Open
bujingyun8 opened this issue Dec 22, 2017 · 1 comment
Open

response with request #58

bujingyun8 opened this issue Dec 22, 2017 · 1 comment

Comments

@bujingyun8
Copy link

In the server side,may I send a request after response.
I try that after
exchange.Respond(...)

Request request = Request.NewGet();
request.Destination = exchange.Request.Source;
exchange.Request.EndPoint.SendRequest(request);

it donot work

@longshine
Copy link
Member

Sorry for the late reply.

You cannot directly send a request (or response) message to a client, since it will drop all unexpected messages silently.

There is this feature called Observing you may have interest in. It enables the server side to send more responses after the first one, or after a while.

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

No branches or pull requests

2 participants