Skip to content

Support RSocket as a transport #339

@rstoyanchev

Description

@rstoyanchev

The RSocket protocol has all the semantics required to carry GraphQL requests. The request-response interaction maps to queries and mutations while request-stream maps to subscriptions. RSocket supports Reactive Streams signals on the wire to complete a stream from the server side or to cancel it from the client side. That means, GraphQL over RSocket does not require a spec other than agreeing on the format for serialized requests and response. For that we can follow the HTTP spec defined format "application/graphql+json".

On the implementation, this should be very straight-forward, given the transport abstractions we have in place for client and server.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions