Asypi
stable
  • Introduction
  • Getting Started
  • Setup, Routing, and Responders
  • Serving Static Files
  • Middleware
  • API Reference
Asypi
  • »
  • Asypi Documentation
  • Edit on GitHub

Asypi Documentation

  • Introduction
    • Hello World Example
    • Features
  • Getting Started
  • Setup, Routing, and Responders
    • Setup
    • Routing
      • Simple Routes
      • Parameterized Routes
    • Responders
  • Serving Static Files
    • Serving Single Files
    • Serving Directories
    • Cache-Control
    • File Compression
    • Using FileServer
  • Middleware
    • Writing Middleware
    • Using Middleware
    • Middleware Example
  • API Reference
    • Server
      • Public Fields
        • int Port
        • IEnumerable Hosts
        • LogLevel LogLevel
        • int LFUCacheSize
        • int FileServerEpochLength
        • Responder Responder404
      • Constructors
      • Routing Methods
      • Static File Routing
        • void RouteStaticFile(string path, string filePath, string contentType = null)
        • RouteStaticDir(string mountRoot, string dirRoot, int? maxDepth = null, string match = ".*")
      • 404 Responder Setters
      • Other Methods
      • void Use(string matchExpression, Middleware middleware)
        • void Reset()
        • Task RunAsync()
        • void Run()
    • Responders
    • HttpMethod
    • Req
      • Public Fields
        • string BodyText
        • string BodyBytes
      • List<string> args
      • Other Public Fields
    • Res
      • Public Fields
        • string BodyText
        • string BodyBytes
      • Other Public Fields
    • IHeaders
    • DefaultHeaders
    • DefaultServerHeaders
      • Public Fields
        • static IHeaders Instance
    • FileServer
      • Public Methods
        • byte[] Get(string filePath)
      • byte[] Read(string filePath)
Next

© Copyright 2021, Asypi Contributors. Revision a0e25772.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: stable
Versions
latest
stable
0.1.0
0.0.8
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds