An HTTP server for Pony
https://ponylang.github.io/stallion β HEALTH ? 97 / Healthy
// readme
stallion
An HTTP server for Pony. Your actor IS the connection β no hidden internal actors, no notify objects. Responses are built with ResponseBuilder for complete responses, or streamed with flow-controlled chunked transfer encoding.
Status
stallion is beta quality software that will change frequently. Expect breaking changes. That said, you should feel comfortable using it in your projects.
Installation
- Requires ponyc 0.78.0 or later.
- Install corral
corral add github.com/ponylang/stallion.git --version 0.17.0corral fetchto fetch your dependenciesuse "stallion"to include this packagecorral run -- ponycto compile your application
This library depends on ponylang/ssl. It requires a C SSL library to be installed. Please see the ssl installation instructions for more information.
Usage
A stallion server has two actor types: a listener and one or more connection actors. The listener implements TCPListenerActor and creates connection actors in _on_accept. Each connection actor implementsβ¦