Skip to main content

Crate reifydb_sub_server

Crate reifydb_sub_server 

Source
Expand description

Common infrastructure for HTTP and WebSocket server subsystems.

This crate provides shared types and utilities used by sub-server-http and sub-server-ws. It includes:

  • Authentication: Identity extraction from headers and tokens
  • Execution: Async wrappers around synchronous database operations
  • Response: Frame conversion for JSON serialization
  • Runtime: Shared tokio runtime management
  • State: Application state for request handler

Modulesยง

auth
Authentication and identity extraction for HTTP and WebSocket connections.
execute
Query and command execution with async streaming.
response
state
Application state shared across request handler.
wire
Wire format types for the WebSocket and HTTP protocol layers.