FSharp.Data.GraphQL
FSharp.Data.GraphQL copied to clipboard
Client provider subscription support
With this PR, I am proposing a subscription interface for the client provider.
The proposal specifies that we should try to be most agnostic possible from subscription protocols, in case the client code needs to connect to a custom implementation. We offer this spec as the default one, in case no one is provided, though.
- [x] Create an interface to represent a subscription handler, with all sub-interfaces needed
- [x] Provide a default implementation based on the GraphQL Over Web Socket specification
- [ ] Integrate the interface and the default implementation on the provider
- [ ] Integration tests
- [ ] Code review and refactoring
Is it already implemented in the client?