wtx 0.45.0

A collection of different transport implementations and related tools focused primarily on web technologies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Session error
#[derive(Debug)]
pub enum SessionError {
  /// Received a session that is expired.
  ExpiredSession,
  /// Received a request which CSRF token differs from the stored CSRF token.
  InvalidCsrfRequest,
  /// The secret must have a specific number of bytes.
  InvalidSecretLength,
  /// Received a session that differs from the stored session.
  InvalidStoredSession,
  /// Path required a session, but there was none
  RequiredSession,
}