swifter icon indicating copy to clipboard operation
swifter copied to clipboard

Tiny http server engine written in Swift programming language.

Results 123 swifter issues
Sort by recently updated
recently updated
newest added

The sockets array looped through in the stop method can be modified asynchronously by the start method. This leads to a very rare crash (I wasn't able to reproduce it...

Hi there 👋 This PR is mostly to gauge interest in a few changes I've made to a forked copy of this package. I can very easily split this up...

I'm trying to create a long-running server in a XCUITest test. ```swift import XCTest import Swifter class AccountCenterUITests: XCTestCase { func testExample() throws { // UI tests must launch the...

Hi everybody: I'm trying to change the hostname from localhost to something like customLocalHost, but I didn't find a way to achieve this. Any ideas? I'm run out of. Thanks...

In my project, I use Swifter version 1.5.0 to stub the json responses. The following code worked find prior to tvOS 16, but broke in tvOS 16 ``` let responseFail:...

let docsPath = Bundle.main.resourcePath! + "/dist.bundle" server["/:path"] = shareFilesFromDirectory(docsPath, defaults: ["index.html"]) try! server.start(13001) test: curl http://127.0.0.1:13001/index.html working curl http://127.0.0.1:13001/ not working, but is this suppose to load the index.html in...

I'd like to access the complete URL address inside the route callback. So here is an example code: ``` let server = HttpServer(0) server["hello-world"] = { request in debugPrint(request.address) return...

I have the following server: ``` import SwiftUI import Swifter @main struct MacInputServer: App { let server: HttpServer; var body: some Scene { WindowGroup { ContentView() } } func sleep(req:...

Bumps [git](https://github.com/ruby-git/ruby-git) from 1.8.1 to 1.11.0. Release notes Sourced from git's releases. Release v1.11.0 Full Changelog 292087e Supress unneeded test output (#570) 19dfe5e Add support for fetch options "--force/-f" and...

dependencies

websocket sometimes not working in macOS sandbox app