surrealdb/api/headers/
mod.rs

1
2
3
4
5
6
7
8
9
10
//! HTTP headers used by SurrealDB

use reqwest::header::HeaderName;

pub static ID: HeaderName = HeaderName::from_static("surreal-id");
pub static NS: HeaderName = HeaderName::from_static("surreal-ns");
pub static DB: HeaderName = HeaderName::from_static("surreal-db");
pub static AUTH_NS: HeaderName = HeaderName::from_static("surreal-auth-ns");
pub static AUTH_DB: HeaderName = HeaderName::from_static("surreal-auth-db");
pub static VERSION: HeaderName = HeaderName::from_static("surreal-version");