apple / swift-nio-transport-services

Extensions for SwiftNIO to support Apple platforms as first-class citizens.
https://swiftpackageindex.com/apple/swift-nio-transport-services/main/documentation/niotransportservices
Apache License 2.0
282 stars 71 forks source link

There is no typed bind function that takes a unixDomainSocketPath #192

Open adam-fowler opened 10 months ago

adam-fowler commented 10 months ago

Expected behavior

NIOTSListenerBootstrap has all the typed bind functions that ServerBootstrap has.

Actual behavior

NIOTSListenerBootstrap.bind(unixDomainSocketPath:cleanupExistingSocketFile:serverBackPressureStrategy:childChannelInitializer:) does not exist

SwiftNIO version/commit hash

swift-nio-transport-services v1.20.0

Lukasa commented 10 months ago

cc @FranzBusch

FranzBusch commented 10 months ago

We haven't provided any bind methods neither EventLoopFuture based nor async that have a cleanupExistingSocketFile in transport-services since it requires to do a couple of sys calls. I am unsure if we want to add those sys calls to NIOTS here.