Docs.rs
  • simple-api-0.1.0
    • simple-api 0.1.0
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • Xyc2016
    • Dependencies
      • anyhow ^1.0 normal
      • async-trait ^0.1.72 normal
      • base64 ^0.21.2 normal
      • cookie ^0.17 normal
      • digest ^0.9.0 normal
      • hex ^0.4 normal
      • hmac ^0.12 normal
      • hyper ^0.14 normal
      • mime_guess ^2.0.4 normal
      • once_cell ^1.18.0 normal
      • redis ^0.23.0 normal
      • regex ^1.9.1 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • sha2 ^0.10.7 normal
      • tokio ^1 normal
      • url ^2.4.0 normal
      • uuid ^1.4 normal
    • Versions
    • 0% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

simple_api0.1.0

Crate Items

  • Structs
  • Statics
  • Traits
  • Functions
  • Type Aliases

List of all items

Structs

  • SimpleApi
  • context::AnyMap
  • context::Context
  • middlewares::SessionMiddleware
  • session::CookieSession
  • session::CookieSessionProvider
  • session::RedisSession
  • session::RedisSessionProvider
  • views::StaticFiles

Traits

  • middleware::Middleware
  • session::Session
  • session::SessionProvider
  • view::View

Functions

  • apply_middlewares_post
  • apply_middlewares_pre
  • response::build_response
  • response::internal_server_error
  • response::internal_server_error_force
  • response::ok_json
  • response::response_json
  • response::ret_json
  • route::match_view
  • session::get_signature
  • utils::cookie::parse_cookie

Type Aliases

  • types::CookieMap
  • types::HttpRequest
  • types::HttpResonse
  • types::State
  • types::ViewPathArgs

Statics

  • GLOBAL_SIMPLE_API_INSTANCE