Skip to content

oldstork/asypi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asypi

Documentation Status

A simple, asynchronous, and flexible web framework built on System.Net.HttpListener. Pronounced "AS-eh-PIE."

Docs

nuget

Installation

dotnet add package Asypi

Hello World Example

using Asypi;

Server server = new Server(8000, "localhost");

server.Route(
    HttpMethod.Get,
    "/",
    () => { return "Hello World!"; },
    "text/html"
);

server.Run();

Features

  • Simple declarative API
  • Async support
  • Flexible router supporting variable parameters
  • Cached static file server supporting custom mount points

Warnings

Asypi is not:

  • Stable. Do not use Asypi if you need stability.
  • Well-Tested. Do not use Asypi for mission-critical or security-critical applications.
  • Suitable for production usage unless if you really know what you're doing.

Hopefully, as the project progresses, these caveats can be removed.

Contributing

If you like this project and want to contribute, please come and do so! More information in CONTRIBUTING.md

Documentation

Documentation for Asypi can be found on readthedocs.io.

About

A simple, asynchronous, and flexible web framework. Pronounced "AS-eh-PIE."

Topics

Resources

License

Stars

Watchers

Forks

Languages