Comments (1)
Okay so I've done a bit more research on this issue.
There is two main websocket protocols that are really being used.
Appollos protocol which extremely loosely defines what messages can be sent but with very little detail on what should happen when the client sends undefined messages. It also doesn't mention authorization (maybe assuming that is sent in the request headers?) but since it's not defined, some libraries require it in the headers and some in the connection_init payload.
This protocol defines way more specific what will happen when certain messages are sent and Apollo is moving to this right now: graphql/graphql-playground#1295
I originally based my subscriptions on the first protocol but we should look at supporting the new protocol, possibly with backwards compatibility.
from swift-graphql.
Related Issues (20)
- GraphQLWebSocket' does not conform to protocol 'WebSocketDelegate' HOT 1
- Remove dependency on starscream in favor of URLSession HOT 1
- Add support for AWS AppSync HOT 7
- Remove dependency on starscream in favor of URLSession HOT 13
- Does Query Builder support multi-operation queries? HOT 2
- Add suport for Linux and swift-server HOT 1
- Update package to remove CLI as dep for client HOT 7
- Massive amounts of warnings due to type parameters being shadowed (will be errors in Swift 6) HOT 2
- GraphQLSupport: Schema support HOT 1
- There are no changes listed for releases since 5.0.9 HOT 3
- GraphQL: Mock request support for testing HOT 2
- Project Roadmap HOT 3
- Caching HOT 2
- Race condition with `active` dictionary when using async/await (w/ proposed fix) HOT 2
- Generic parameter 'T'/'TypeLock' could not be inferred HOT 8
- ErrorExchange doesnt seem to be called HOT 5
- using args causes error in response HOT 2
- Optional lists? optional().list.optional()
- Category Tree Structure upto 2 levels
- How to debug codegen errors?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-graphql.