SocketSubProtocol class

All the protocol supported by the library

Annotations
  • @Deprecated("`SocketSubProtocol`is deprecated and will be removed in the version 5.2.0, consider to use `GraphQLProtocol`")

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 ws protocol used by most Apollo Server instances with subscriptions enabled use this library. N.B: not to be confused with the graphql-ws library that implement the old ws protocol.
graphqlWs → const String
graphql-ws: The new (not to be confused with the graphql-ws library). NB. This protocol is it no longer maintained, please consider to use SocketSubProtocol.graphqlTransportWs.