No description
Find a file
2017-09-26 14:40:14 +08:00
httpkit Del buffer, to a pure parser 2017-09-26 14:40:14 +08:00
test Del buffer, to a pure parser 2017-09-26 14:40:14 +08:00
.gitignore Add both request and response 2017-06-08 12:03:46 +08:00
.travis.yml 0.1.0 2017-06-07 14:04:04 +08:00
config.nims Del buffer, to a pure parser 2017-09-26 14:40:14 +08:00
httpkit.nim Del buffer, to a pure parser 2017-09-26 14:40:14 +08:00
httpkit.nimble Del buffer, to a pure parser 2017-09-26 14:40:14 +08:00
LICENSE 0.1.0 2017-06-07 14:04:04 +08:00
README.md Del buffer, to a pure parser 2017-09-26 14:40:14 +08:00

HttpKit Build Status

This is an efficient HTTP parser written in pure nim. It can parse both requests and responses. Give it a data chunk, it will produce all the useful http states for you. And then, you can write your HTTP services with these states.

Features

  • Does not perform IO operations, processing data chunk is its only purpose
  • Data chunk can come from TCP socket, UDP socket, or even Unix Domain socket, etc. It means that you can write HTTP services via TCP, UDP, or even Unix Domain socket
  • No overhead. If you are writing an asynchronous web service or clients by asyncdispatch and asyncnet, HttpKit will not (create new Future to) increase overhead
  • Be convenient to transfer large files. You can define your own data buffer, decide when to store datas and when to send datas

Install

Releases are available as tags in this repository and can be fetched via nimble:

nimble install httpkit