Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
getUnixSocketAccessMode :: forall (m :: Type -> Type) a . Config m a -> Maybe Intsnap-server Snap.Http.Server.Config Access mode for unix socket, by default is system specific. This should only be used to grant additional permissions to created socket file, and not to remove permissions set by default. The only portable way to limit access to socket is creating it in a directory with proper permissions set. Most BSD systems ignore access permissions on unix sockets. Note: This uses umask. There is a race condition if process creates other files at the same time as opening a unix socket with this option set.
setUnixSocket :: forall (m :: Type -> Type) a . FilePath -> Config m a -> Config m asnap-server Snap.Http.Server.Config No documentation available.
setUnixSocketAccessMode :: forall (m :: Type -> Type) a . Int -> Config m a -> Config m asnap-server Snap.Http.Server.Config No documentation available.
getUnixSocket :: forall (m :: Type -> Type) a . Config m a -> Maybe FilePathsnap-server Snap.Internal.Http.Server.Config File path to unix socket. Must be absolute path, but allows for symbolic links.
getUnixSocketAccessMode :: forall (m :: Type -> Type) a . Config m a -> Maybe Intsnap-server Snap.Internal.Http.Server.Config Access mode for unix socket, by default is system specific. This should only be used to grant additional permissions to created socket file, and not to remove permissions set by default. The only portable way to limit access to socket is creating it in a directory with proper permissions set. Most BSD systems ignore access permissions on unix sockets. Note: This uses umask. There is a race condition if process creates other files at the same time as opening a unix socket with this option set.
setUnixSocket :: forall (m :: Type -> Type) a . FilePath -> Config m a -> Config m asnap-server Snap.Internal.Http.Server.Config No documentation available.
setUnixSocketAccessMode :: forall (m :: Type -> Type) a . Int -> Config m a -> Config m asnap-server Snap.Internal.Http.Server.Config No documentation available.
unixaccessmode :: Config (m :: Type -> Type) a -> Maybe Intsnap-server Snap.Internal.Http.Server.Config No documentation available.
unixsocket :: Config (m :: Type -> Type) a -> Maybe FilePathsnap-server Snap.Internal.Http.Server.Config No documentation available.
-
Provides TextShow instance for Fixed, as well as the showbFixed function. Since: 2