wtx 0.28.0

A collection of different transport implementations and related tools focused primarily on web technologies.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// Server Framework Error
#[derive(Debug)]
pub enum ServerFrameworkError {
  /// Client requested a CORS header that isn't allowed
  ForbiddenCorsHeader,
  /// Client requested a CORS method that isn't allowed
  ForbiddenCorsMethod,
  /// Client requested a CORS origin that isn't allowed
  ForbiddenCorsOrigin,
  /// Client sent a request with invalid WebSocket tunneling parameters
  InvalidWebSocketParameters,
  /// Entered in a route that has an incompatible operation mode
  OperationModeMismatch,
  /// Unknown path
  UnknownPath,
}