picohttpparser

Bindings for picohttpparser.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Tags

Installation

nimble install picohttpparser
choosenim install picohttpparser
git clone https://github.com/philip-wernersbach/nim-picohttpparser

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
picohttpparser - - - - - - -

README

nim-picohttpparser

Nim binding for picohttpparser.

Setup

Install picohttpparser with Nimble and you're ready to go.

Usage

To use the low level picohttpparser API binding, import picohttpparser/api in your program, and use parseRequest or tryParseRequest.

Converter procs toStringTableRef and toHttpHeaders are provided to convert picohttpparser's native seq[phr_header] header type to types that are often used in Nim libraries.

TODO

A high level picohttpparser API named picohttpparser would be nice. Patches welcome!

License

This project is licensed under the same license as picohttpparser, which is dual-licensed under the Perl License or the MIT License.