GraphQLProtocol class
ALL protocol supported by the library
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- graphqlTransportWs → const String
- graphql-transport-ws: New protocol used by most Apollo Server instances with subscriptions enabled. Implemented by the graphql-ws library.
- graphqlWs → const String
-
graphql-ws: Old protocol (not to be confused with the graphql-ws library).
NB. This protocol is it no longer maintained, please consider
to use
SocketSubProtocol.graphqlTransportWs
.