SockManager
public class SockManager
SockManager is a class that wraps a golang sockManager object
Should not be used on its own
-
Class constructor using sockBasePath passed as parameter as UDS base path
Throws
SockManagerError: If the initialization of the socket manager failedDeclaration
Swift
public init(_ sockBasePath: URL) throwsParameters
sockBasePathThe path where the UDS will be created
-
Creates an UDS and returns its path
Throws
SockManagerError: If the socket creation failedDeclaration
Swift
public func newSockPath() throws -> StringReturn Value
The path of the created socket
View on GitHub
SockManager Class Reference