Built-in Webserver

We use Hypercorn as Conreq's production-grade webserver. This webserver can be directly exposed to the internet. For more information beyond what is in this guide, check out the Hypercorn Documentation.


The Conreq webserver can be modified through a hypercorn.toml file.

  1. Create a hypercorn.toml file within your Conreq data directory (ex. ./Conreq/data/hypercorn.toml)

  2. Populate this toml file with any property in the Hypercorn's documentation. For example...

    bind = "0.0.0.0:5357"
    h11_max_incomplete_size = 4
    keep_alive_timeout = 20
    use_reloader = true
    workers = 20
    

Last update: July 11, 2021