Skip to content

Use cases for client application sending ABORT? #470

Answered by ecorm
ecorm asked this question in Q&A
Discussion options

You must be logged in to vote

The client starts connecting to the WAMP Router... But it takes some time (due to slow internet or some other reasons). If the client decides not to wait for session establishment — then it can call abort().

This could be generalized to other operations where an acknowledgment (e.g. SUBSCRIBED) takes too long to arrive. Since CANCEL is limited to CALLs only, ABORT is the only available message left for the client to report a timeout for a non-call operation.

Calling abort during the session lifetime results in my case in simply closing the underlying websocket transport.

I would go further by sending an ABORT so that a reason URI can be logged by the router, followed by an immediate d…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@ecorm
Comment options

Answer selected by ecorm
Comment options

You must be logged in to vote
6 replies
@konsultaner
Comment options

@ecorm
Comment options

@KSDaemon
Comment options

@oberstet
Comment options

@konsultaner
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants