swifter
swifter copied to clipboard
Tiny http server engine written in Swift programming language.
Do you have any situations where some phones can't be accessed? After Demo is downloaded, it can not run on iphone8 ios11.4.2, but it can be accessed on another machine...
Download demo and run on the phone. Send HTTP requests, some phones can respond to interface requests, some can not respond. No response phone, no rules found, with IOS mobile...
This issue refers to https://github.com/httpswift/swifter/blob/b366f5ed088d9d0d216a9ce18ec726f7912c30f3/Sources/HttpResponse.swift#L35-L48 Did anyone ever attempt to rewrite it with the Swift.Encodable? Evidently, there was no JSON decoding tool back then on Linux/SPM, but this is not...
Hi, How would I be notified when a socket connects and disconnects? I want to retain the sockets in my app so I can broadcast a message to all connected...
I can't seem to get video serving to work on iOS 10.3. I thought it may be a CORS issue so I added headers to the response, but then, when...
After spending some time figuring out what is an issue, I found out that methods `private func readBody(_ socket: Socket, size: Int) throws -> [UInt8] ` were using this line...
SSL Support
https://github.com/PerfectlySoft/Perfect allows the ability to start the server with a cert+key. Since HTTPS is now recommended everywhere, along with initiatives like https://letsencrypt.org, what do you think?
Anyone having issues connecting to the web socket? When I try to connect from a browser, the browser gives me an error 404 that it cannot connect. Anything I could...
Hi! I am trying to use Swifter as an embedded http server in my tvOS application to host an m3u8 playlist. I am not sure how to achieve that. What...
Hi, Can anyone tell me if I can use this library to play encrypted .mp4 video file in iOS? Idea is to decrypt the file using local http server and...