Telegram-iOS/submodules/TelegramCallsUI/Sources/LocalServer/NWHTTPServer/README.md
2024-07-12 11:36:44 +04:00

852 B

NWHTTPServer

Swift5 macOS iOS

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.