Struct juniper_graphql_ws::ConnectionConfig [−][src]
pub struct ConnectionConfig<CtxT> { /* fields omitted */ }
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
Auto Trait Implementations
impl<CtxT> RefUnwindSafe for ConnectionConfig<CtxT> where
CtxT: RefUnwindSafe,
impl<CtxT> Send for ConnectionConfig<CtxT> where
CtxT: Send,
impl<CtxT> Sync for ConnectionConfig<CtxT> where
CtxT: Sync,
impl<CtxT> Unpin for ConnectionConfig<CtxT> where
CtxT: Unpin,
impl<CtxT> UnwindSafe for ConnectionConfig<CtxT> where
CtxT: UnwindSafe,