HTTP message parser written in C based on llhttp. It parses both requests and responses. The parser is designed to be used in performance HTTP applications. It does not make any syscalls nor allocations, it does not buffer data, it can be interrupted at anytime. Depending on your architecture, it only requires about 40 bytes of data per message stream (in a web server that is per connection).
Features:
The parser extracts the following information from HTTP messages:
The Swift Package Manager is a tool for automating the distribution of Swift code.
You can add Telegraph to your project by choosing the File - Swift Packages - Add Package Dependency option. Use the repository url as specified below and select the version you want to use.
Or you can manually add a Package.swift
file to your project with:
dependencies: [
.package(url: "https://github.com/Building42/HTTPParserC.git")
]
CocoaPods is a dependency manager for Cocoa projects that makes dependencies a part of your workspace.
pod 'HTTPParserC'
See CocoaPods - Getting Started for more information.
Visit https://github.com/nodejs/llhttp for more information
link |
Stars: 27 |
Last commit: 4 weeks ago |
Breaking: moved from http_parser to llhttp
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics