Struct juniper_graphql_ws::ConnectionConfig
source · [−]pub struct ConnectionConfig<CtxT> { /* private fields */ }
Expand description
ConnectionConfig is used to configure the connection once the client sends the ConnectionInit message.
Implementations
Constructs the configuration required for a connection to be accepted.
Specifies the maximum number of in-flight operations that a connection can have. If this number is exceeded, attempting to start more will result in an error. By default, there is no limit to in-flight operations.
Specifies the interval at which to send keep-alives. Specifying a zero duration will disable keep-alives. By default, keep-alives are sent every 15 seconds.
Trait Implementations
type Error = Infallible
type Error = Infallible
The error that is returned on failure. The formatted error will be used as the contents of the “message” field sent back to the client. Read more