mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
852 B
852 B
NWHTTPServer
A very simple HTTP server
for the Apple
Network.framework.
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.