Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

fpWebServerSkeleton

A basic example for manually use fphttpserver and httprouter in a console application.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

fpWebServerSkeleton

This is a basic example for manually use fphttpserver and httprouter in a console application.

You can build your web application base on this project.

You can also copy the code you need from this project.

TODO

  • [x] Router
  • [x] SSL Support
  • [ ] Logging
  • [ ] Exception Handler

Directories

/routes/*: Implementation for handler of different path.

DISCLAIMER 声明

I'm not good at English and Free Pascal. So the comment in the code may be not exact. And my code in this repo isn't the best solution for a Web Server. Please send me suggestions via Issues.

我不擅长英语和 Free Pascal。 所以代码中的注释可能不准确。 我在这个仓库中的代码并不是 Web 服务器的最佳解决方案。 请通过问题向我发送建议。