helje5/nwhttpprotocol
An HTTP protocol parser (aka
NWHTTPServer
It also includes NWHTTPServer, a very simple HTTP server based on the NWHTTPProtocol.
Example:
let server = HTTPServer { request, response in
print("Received:", request)
try response.send("Hello!\n")
}
server.run()Who
NWHTTPProtocol is brought to you by the Always Right Institute and ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.
Package Metadata
Repository: helje5/nwhttpprotocol
Default branch: main
README: README.md