Skip to content

Add start and stop methods to RSocketGraphQlClient #378

@rstoyanchev

Description

@rstoyanchev

This came up as part of documentation changes for #368. Currently, the only way to stop the session is to call dispose on the underlying RSocketRequester but RSocketGraphQlClient can built without providing a requester instance and by only specifying the target URI. There should be a first-class stop() method to use regardless of how the client is created. Likewise, there should be a similar start() method for the same reason.

Note that currently stop cannot be properly implemented to return Mono<Void> but that should be possible after rsocket/rsocket-java#1048.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions